diff options
author | David Tolnay <dtolnay@chromium.org> | 2019-03-05 18:25:44 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-03-07 20:21:30 -0800 |
commit | 9deb7d7803f6354b4edd0f8293a096994866c50b (patch) | |
tree | 5d14e17f4ac337d6c9c685c0e257683db5e0d73f /src/linux.rs | |
parent | fd0971d80c2c261093cc6045f74435c2d01ad979 (diff) | |
download | crosvm-9deb7d7803f6354b4edd0f8293a096994866c50b.tar crosvm-9deb7d7803f6354b4edd0f8293a096994866c50b.tar.gz crosvm-9deb7d7803f6354b4edd0f8293a096994866c50b.tar.bz2 crosvm-9deb7d7803f6354b4edd0f8293a096994866c50b.tar.lz crosvm-9deb7d7803f6354b4edd0f8293a096994866c50b.tar.xz crosvm-9deb7d7803f6354b4edd0f8293a096994866c50b.tar.zst crosvm-9deb7d7803f6354b4edd0f8293a096994866c50b.zip |
setup: Remove outdated comment about deref &PathBuf to &Path
The double deref `&**src` was removed in CL:1501652. TEST=cargo check Change-Id: I9104e159c1af2ab730f47b053e15492378dbe355 Reviewed-on: https://chromium-review.googlesource.com/1504776 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: David Tolnay <dtolnay@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'src/linux.rs')
-rw-r--r-- | src/linux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux.rs b/src/linux.rs index 3238b8a..58bf673 100644 --- a/src/linux.rs +++ b/src/linux.rs @@ -611,7 +611,7 @@ fn create_9p_device(cfg: &Config, chronos: Ids, src: &Path, tag: &str) -> Device } None => { // There's no bind mount so we tell the server to treat the source directory as the - // root. The double deref here converts |src| from a &PathBuf into a &Path. + // root. (None, src) } }; |