summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/markdown/Rust-module.md4
1 files changed, 2 insertions, 2 deletions
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.