summaryrefslogtreecommitdiff
path: root/library/src/compute/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/compute/construct.rs')
-rw-r--r--library/src/compute/construct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/compute/construct.rs b/library/src/compute/construct.rs
index 5a8aa05e..784513f6 100644
--- a/library/src/compute/construct.rs
+++ b/library/src/compute/construct.rs
@@ -16,7 +16,7 @@ use crate::prelude::*;
/// #int(false) \
/// #int(true) \
/// #int(2.7) \
-/// { int("27") + int("4") }
+/// #{ int("27") + int("4") }
/// ```
///
/// ## Parameters
@@ -331,7 +331,7 @@ pub fn label(args: &mut Args) -> SourceResult<Value> {
/// The numbers 1 to 10.
///
/// // Works with string methods.
-/// { "a,b;c"
+/// #{ "a,b;c"
/// .split(regex("[,;]")) }
/// ```
///