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

@ -1,10 +1,10 @@
--- ---
title: "cos" title: "cos"
excerpt: "Computes the sine of a number (in radians)." excerpt: "Computes the cosine of a number (in radians)."
layout: manual layout: manual
--- ---
Computes the sine of a number (in radians). Computes the cosine of a number (in radians).

View File

@ -22386,7 +22386,7 @@
}, },
{ {
"name": "cos", "name": "cos",
"summary": "Computes the sine of a number (in radians).", "summary": "Computes the cosine of a number (in radians).",
"description": "", "description": "",
"tags": [ "tags": [
"math" "math"

View File

@ -18,7 +18,7 @@ pub async fn cos(args: Args) -> Result<MemoryItem, KclError> {
args.make_user_val_from_f64(result) 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 /// ```no_run
/// const anotherVar = cos(2*pi()) /// const anotherVar = cos(2*pi())