summaryrefslogtreecommitdiff
path: root/src/sys/mman.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2017-12-11 04:05:12 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2017-12-11 04:05:12 +0000
commitb957a7a801635cbf5b7b4f8bae67108a7117e0fd (patch)
tree31f5a5b09bf5cfae8e2ba457973281974200cf8d /src/sys/mman.rs
parente1ce3619bd3013d345a36d0a7b908c243788471e (diff)
parent133e3501bca30edbc747bc8e83aca86f0908a8d2 (diff)
downloadnix-b957a7a801635cbf5b7b4f8bae67108a7117e0fd.zip
Merge #806
806: Cleanup all doc warnings r=asomers a=Susurrus With the impending switch to Pulldown as the default doc generator, warnings have been enabled for incompatible syntax. This fixes all of said warnings.
Diffstat (limited to 'src/sys/mman.rs')
-rw-r--r--src/sys/mman.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs
index a32cd54a..65f6c59d 100644
--- a/src/sys/mman.rs
+++ b/src/sys/mman.rs
@@ -101,8 +101,7 @@ libc_bitflags!{
libc_enum!{
/// Usage information for a range of memory to allow for performance optimizations by the kernel.
///
- /// Used by [`madvise`].
- /// [`madvise`]: ./fn.madvise.html
+ /// Used by [`madvise`](./fn.madvise.html).
#[repr(i32)]
pub enum MmapAdvise {
/// No further special treatment. This is the default.