From fe3ef7d99892fad804cbc9de8801033fd483f337 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 8 Mar 2019 15:57:49 -0800 Subject: edition: Update absolute paths to 2018 style This is an easy step toward adopting 2018 edition eventually, and will make any future CL that sets `edition = "2018"` this much smaller. The module system changes in Rust 2018 are described here: https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html Generated by running: cargo fix --edition --all in each workspace, followed by bin/fmt. TEST=cargo check TEST=cargo check --all-features TEST=cargo check --target aarch64-unknown-linux-gnu Change-Id: I000ab5e69d69aa222c272fae899464bbaf65f6d8 Reviewed-on: https://chromium-review.googlesource.com/1513054 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: David Tolnay Tested-by: kokoro Reviewed-by: David Tolnay --- virtio_sys/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'virtio_sys') diff --git a/virtio_sys/src/lib.rs b/virtio_sys/src/lib.rs index 8d6285c..7984d80 100644 --- a/virtio_sys/src/lib.rs +++ b/virtio_sys/src/lib.rs @@ -15,9 +15,9 @@ pub mod vhost; pub mod virtio_net; // generated with bindgen /usr/include/linux/virtio_ring.h --no-unstable-rust --constified-enum '*' --with-derive-default pub mod virtio_ring; -pub use vhost::*; -pub use virtio_net::*; -pub use virtio_ring::*; +pub use crate::vhost::*; +pub use crate::virtio_net::*; +pub use crate::virtio_ring::*; pub const VHOST: ::std::os::raw::c_uint = 0xaf; -- cgit 1.4.1