浏览代码

Fix cargo doc warnings

Johannes Hofmann 8 年前
父节点
当前提交
decf507b57
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4
    2
      src/mmap_blob.rs

+ 4
- 2
src/mmap_blob.rs 查看文件

25
     ///
25
     ///
26
     /// # Safety
26
     /// # Safety
27
     /// The underlying file should not be modified while holding the memory map.
27
     /// The underlying file should not be modified while holding the memory map.
28
-    /// See https://github.com/danburkert/memmap-rs/issues/25
28
+    /// See [memmap-rs issue 25](https://github.com/danburkert/memmap-rs/issues/25) for more
29
+    /// information on the safety of memory maps.
29
     ///
30
     ///
30
     /// # Example
31
     /// # Example
31
     /// ```
32
     /// ```
47
     ///
48
     ///
48
     /// # Safety
49
     /// # Safety
49
     /// The underlying file should not be modified while holding the memory map.
50
     /// The underlying file should not be modified while holding the memory map.
50
-    /// See https://github.com/danburkert/memmap-rs/issues/25
51
+    /// See [memmap-rs issue 25](https://github.com/danburkert/memmap-rs/issues/25) for more
52
+    /// information on the safety of memory maps.
51
     ///
53
     ///
52
     /// # Example
54
     /// # Example
53
     /// ```
55
     /// ```