typo in docs (#1934)

typo indocs

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-03-27 10:21:46 -07:00
committed by GitHub
parent 4904785bbd
commit 6d3f6c784e
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ pub async fn cos(args: Args) -> Result<MemoryItem, KclError> {
args.make_user_val_from_f64(result)
}
/// Computes the sine of a number (in radians).
/// Computes the cosine of a number (in radians).
///
/// ```no_run
/// const anotherVar = cos(2*pi())