From: Ian Jackson Date: Sat, 10 Jul 2021 14:46:42 +0000 (+0100) Subject: internal docs: Fix some bogus links X-Git-Tag: otter-0.7.2~167 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=754a0d3d5eaea3c43c54197a62e33878a7bc5eef;p=otter.git internal docs: Fix some bogus links Signed-off-by: Ian Jackson --- diff --git a/src/shapelib-toml.rs b/src/shapelib-toml.rs index 77046cd1..e8eb2a0c 100644 --- a/src/shapelib-toml.rs +++ b/src/shapelib-toml.rs @@ -20,7 +20,7 @@ pub struct GroupDefn { #[derive(Debug,Deserialize)] pub struct GroupDetails { - #[cfg(doc)]inherit: String, // handled specially + #[cfg(doc)] inherit: String, // handled specially pub size: Vec, // scaled when put into GroupData #[serde(default)] pub orig_size: Vec, #[serde(default)] pub centre: Option<[f64; 2]>, @@ -67,18 +67,18 @@ pub struct FileData { /// `scraper`, specifying where and how to get updated piece SVGs. pub struct Scraper { /// Determines which scraper is run and the rest of the table - /// [`scraper`](LibraryTomlFile::scraper) is interpreted. + /// `scraper` is interpreted. /// /// There are two methods available: /// /// * `"none"`: Do not scrape anything. The SVGs in the Otter /// source tree are hand-edited. The 2nd field in each /// [`files`](GroupDefn::files) line - /// ([`r_file_spec`](FileData::r_file_spec)) is ignored. + /// ([`src_file_spec`](FileData::src_file_spec)) is ignored. /// /// * `"wikimedia"`: Scrape a site that uses Mediawiki the way that /// Wikimedia does. In this case - /// [`scraper`](LibraryTomlFile::scraper) is a table containing the + /// `scraper` is a table containing the /// fields of [`WikimediaScraper`], not just `method`. /// /// * `"cards-oxymoron`": Special for that subdirectory.