summaryrefslogtreecommitdiff
path: root/library/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-17 16:32:48 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-17 16:32:48 +0100
commit028632a3a10202ee21eaaf7ecf13ca7fe331106e (patch)
treeecba2b74b52b2c94b8ccf63dc8099d8ef608081c /library/src
parentdd5f07eb9110cc5e19dcb4441743a323128426fc (diff)
Fix error handling after hashtag
Diffstat (limited to 'library/src')
-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 f540d828..3b42ef24 100644
--- a/library/src/compute/construct.rs
+++ b/library/src/compute/construct.rs
@@ -390,8 +390,8 @@ pub fn label(args: &mut Args) -> SourceResult<Value> {
/// The numbers 1 to 10.
///
/// // Works with string methods.
-/// #{ "a,b;c"
-/// .split(regex("[,;]")) }
+/// #("a,b;c"
+/// .split(regex("[,;]")))
/// ```
///
/// ## Parameters