typo in docs (#1934)
typo indocs Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -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).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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())
|
||||||
|
Reference in New Issue
Block a user