From 1e59db30be74038c999643c7184a6416fc002c2f Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 9 Apr 2025 12:53:19 +0200 Subject: move "since 1.8.0" for rust.doctest to the right place --- docs/markdown/Rust-module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/markdown') diff --git a/docs/markdown/Rust-module.md b/docs/markdown/Rust-module.md index d2c478c64..35eaf39c3 100644 --- a/docs/markdown/Rust-module.md +++ b/docs/markdown/Rust-module.md @@ -24,8 +24,6 @@ like Meson, rather than Meson work more like rust. rustmod.test(name, target, ...) ``` -*Since 1.8.0* - This function creates a new rust unittest target from an existing rust based target, which may be a library or executable. It does this by copying the sources and arguments passed to the original target and @@ -50,6 +48,8 @@ This function also accepts all of the keyword arguments accepted by the rustmod.doctest(name, target, ...) ``` +*Since 1.8.0* + This function creates a new `test()` target from an existing rust based library target. The test will use `rustdoc` to extract and run the doctests that are included in `target`'s sources. -- cgit v1.2.3