From 25b5bd117529cd04bb789e1988eb3a3db8025a0e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 7 Mar 2023 15:17:13 +0100 Subject: Fully untyped model --- tests/src/tests.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/src') diff --git a/tests/src/tests.rs b/tests/src/tests.rs index 0c2b0490..eae0126d 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -146,9 +146,8 @@ impl Args { } fn library() -> Library { - /// # Test - /// ## Category - /// test + /// Category: test + /// Display: Test #[func] fn test(args: &mut typst::eval::Args) -> SourceResult { let lhs = args.expect::("left-hand side")?; @@ -159,9 +158,8 @@ fn library() -> Library { Ok(Value::None) } - /// # Print - /// ## Category - /// test + /// Category: test + /// Display: Print #[func] fn print(args: &mut typst::eval::Args) -> SourceResult { print!("> "); -- cgit v1.2.3