diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:08:16 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-20 16:11:37 +0100 |
| commit | f5f7df7247ae29800e0290774a50942e2485beea (patch) | |
| tree | 57253ba51efdae3ac8e4eea722428924625b514c /tests | |
| parent | b8ffd3ad3dcaebddbc674e03494e0d818b21fa51 (diff) | |
Documentation
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/src/tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 7316ed11..9dc7aa6d 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -145,6 +145,9 @@ impl Args { } fn library() -> Library { + /// # Test + /// ## Category + /// test #[func] fn test(args: &mut typst::model::Args) -> SourceResult<Value> { let lhs = args.expect::<Value>("left-hand side")?; @@ -155,6 +158,9 @@ fn library() -> Library { Ok(Value::None) } + /// # Print + /// ## Category + /// test #[func] fn print(args: &mut typst::model::Args) -> SourceResult<Value> { print!("> "); |
