aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-27 19:45:43 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-06-27 19:45:43 -0400
commit4635fd59375e14d06d0789d8fefe630950217846 (patch)
tree986fe1384a7fad9027ac56d7710782d2391ed4bc
parent6cc1f26e55f03127c4f537f96ce095716f0bb7da (diff)
downloadmeson-4635fd59375e14d06d0789d8fefe630950217846.zip
meson-4635fd59375e14d06d0789d8fefe630950217846.tar.gz
meson-4635fd59375e14d06d0789d8fefe630950217846.tar.bz2
docs: fix broken link to structured sources
We used the wrong spelling for both the object and the function. Link to both, once in the description and once in the example code.
-rw-r--r--docs/markdown/Rust.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/markdown/Rust.md b/docs/markdown/Rust.md
index 971014f..97a98dc 100644
--- a/docs/markdown/Rust.md
+++ b/docs/markdown/Rust.md
@@ -30,7 +30,7 @@ This is an implementation detail of Meson, and is subject to change in the futur
*Note* This feature was added in 0.62
-You can use a [[structured_source]] for this. Structured sources are a dictionary
+You can use a [[@structured_src]] for this. Structured sources are a dictionary
mapping a string of the directory, to a source or list of sources.
When using a structured source all inputs *must* be listed, as Meson may copy
the sources from the source tree to the build tree.
@@ -44,7 +44,7 @@ build time (when necessary), to avoid reconfiguring when sources change.
```meson
executable(
'rust_exe',
- structured_sources(
+ [[#structured_sources]](
'main.rs',
{
'foo' : ['bar.rs', 'foo/lib.rs', generated_rs],