From 4635fd59375e14d06d0789d8fefe630950217846 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 27 Jun 2022 19:45:43 -0400 Subject: [PATCH] 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. --- docs/markdown/Rust.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/markdown/Rust.md b/docs/markdown/Rust.md index 971014f8a..97a98dc90 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],