diff options
author | Zach Reizner <zachr@google.com> | 2017-05-30 11:25:05 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-30 22:24:49 -0700 |
commit | db8a35a1b11e5f7ca93399a5ccea8f0fe7aacea9 (patch) | |
tree | dd5aa076e2bd5508bc7b772839538190ff7db6e0 /sys_util/src/mmap.rs | |
parent | 66cf8bbb3455ce67141801d040a12f17557f1c03 (diff) | |
download | crosvm-db8a35a1b11e5f7ca93399a5ccea8f0fe7aacea9.tar crosvm-db8a35a1b11e5f7ca93399a5ccea8f0fe7aacea9.tar.gz crosvm-db8a35a1b11e5f7ca93399a5ccea8f0fe7aacea9.tar.bz2 crosvm-db8a35a1b11e5f7ca93399a5ccea8f0fe7aacea9.tar.lz crosvm-db8a35a1b11e5f7ca93399a5ccea8f0fe7aacea9.tar.xz crosvm-db8a35a1b11e5f7ca93399a5ccea8f0fe7aacea9.tar.zst crosvm-db8a35a1b11e5f7ca93399a5ccea8f0fe7aacea9.zip |
sys_util: remove accidental HTML from doc comments
For some reason, the angle brackets in the comments confused doc-tests such that they hung everytime `cargo test` was run on sys_util on my machine. My theory is that the angle brackets triggered some strange HTML behavior in `cargo test`. BUG=None TEST=cd sys_util; cargo test Change-Id: Iceb81e64aecc4cc2a9397f2d1af2e64aeb8e2b5e Reviewed-on: https://chromium-review.googlesource.com/518444 Commit-Ready: Zach Reizner <zachr@chromium.org> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'sys_util/src/mmap.rs')
-rw-r--r-- | sys_util/src/mmap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys_util/src/mmap.rs b/sys_util/src/mmap.rs index 57627f8..732c4f0 100644 --- a/sys_util/src/mmap.rs +++ b/sys_util/src/mmap.rs @@ -105,7 +105,7 @@ impl MemoryMapping { } /// Writes a slice to the memory region at the specified offset. - /// Returns Ok(<number of bytes written>). The number of bytes written can + /// Returns the number of bytes written. The number of bytes written can /// be less than the length of the slice if there isn't enough room in the /// memory region. /// |