Mercurial > crates > nonstick
comparison src/_doc.rs @ 142:5c1e315c18ff
minor doc nicening
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Sat, 05 Jul 2025 21:49:27 -0400 |
| parents | 39760dfc9b3b |
| children | 1bc52025156b |
comparison
equal
deleted
inserted
replaced
| 141:a508a69c068a | 142:5c1e315c18ff |
|---|---|
| 85 /// /// This contains a [link to the man page for malloc][man7]. | 85 /// /// This contains a [link to the man page for malloc][man7]. |
| 86 /// #[doc = man7!(3 malloc)] | 86 /// #[doc = man7!(3 malloc)] |
| 87 /// # fn do_whatever() {} | 87 /// # fn do_whatever() {} |
| 88 /// | 88 /// |
| 89 /// /// This contains both a link to the ["structure" section of `hgrc`][man7] | 89 /// /// This contains both a link to the ["structure" section of `hgrc`][man7] |
| 90 /// /// and a link to the ["environment" section of `systemd`][sysd_env]. | 90 /// /// and a link to the ["environment" section of `systemd`][systemd_env]. |
| 91 /// /// | 91 /// /// |
| 92 /// #[doc = man7!(5 hgrc "STRUCTURE")] | 92 /// #[doc = man7!(5 hgrc "STRUCTURE")] |
| 93 /// #[doc = man7!(sysd_env: 1 systemd "ENVIRONMENT")] | 93 /// #[doc = man7!(systemd_env: 1 systemd "ENVIRONMENT")] |
| 94 /// # fn do_whatever2() {} | 94 /// # fn do_whatever2() {} |
| 95 /// ``` | 95 /// ``` |
| 96 macro_rules! man7 { | 96 macro_rules! man7 { |
| 97 ($n:literal $fn:ident $($anchor:literal)?) => { | 97 ($n:literal $fn:ident $($anchor:literal)?) => { |
| 98 $crate::man7!(man7: $n $fn $($anchor)?) | 98 $crate::man7!(man7: $n $fn $($anchor)?) |
