ソースを参照

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,7 +25,8 @@ impl Mmap {
25 25
     ///
26 26
     /// # Safety
27 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 31
     /// # Example
31 32
     /// ```
@@ -47,7 +48,8 @@ impl Mmap {
47 48
     ///
48 49
     /// # Safety
49 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 54
     /// # Example
53 55
     /// ```