diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-09 15:52:44 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-09 16:00:39 +0200 |
| commit | e923d0e4dac4a87d8776909a71c8ac7cc87d456e (patch) | |
| tree | cbb1dc664073c2f8cc781a8412ad7ec96cf6a73c /library/src/compute | |
| parent | c65aaa9137aaefe37df7e87602a9ab25cb72c975 (diff) | |
Touch up docs
Diffstat (limited to 'library/src/compute')
| -rw-r--r-- | library/src/compute/calc.rs | 4 | ||||
| -rw-r--r-- | library/src/compute/construct.rs | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/library/src/compute/calc.rs b/library/src/compute/calc.rs index 84942e70..d8d577ad 100644 --- a/library/src/compute/calc.rs +++ b/library/src/compute/calc.rs @@ -143,7 +143,7 @@ pub fn pow( /// /// ## Example { #example } /// ```example -/// #calc.exp(3) +/// #calc.exp(1) /// ``` /// /// Display: Exponential @@ -479,7 +479,7 @@ pub fn log( /// /// ## Example { #example } /// ```example -/// #calc.ln(100) +/// #calc.ln(calc.e) /// ``` /// /// Display: Natural Logarithm diff --git a/library/src/compute/construct.rs b/library/src/compute/construct.rs index 5d2d35ae..a81c6a96 100644 --- a/library/src/compute/construct.rs +++ b/library/src/compute/construct.rs @@ -183,7 +183,8 @@ cast! { /// Create a new datetime. /// /// You can specify the [datetime]($type/datetime) using a year, month, day, -/// hour, minute, and second. +/// hour, minute, and second. You can also get the current date with +/// [`datetime.today`]($func/datetime.today). /// /// ## Example /// ```example @@ -564,7 +565,7 @@ pub fn str_to_unicode( /// #str.from-unicode(97) /// ``` /// -/// Display: Sting From Unicode +/// Display: String From Unicode /// Category: construct #[func] pub fn str_from_unicode( |
