Skip to content

Commit ab04ca6

Browse files
dianpopaacatangiu
authored andcommitted
vmm: beautify lib.rs and remove unnecesary...
usage of 'pub'. Signed-off-by: Diana Popa <[email protected]>
1 parent a7b6086 commit ab04ca6

File tree

4 files changed

+110
-113
lines changed

4 files changed

+110
-113
lines changed

sys_util/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ memory_model = { path = "../memory_model"}
1010

1111
[dev-dependencies]
1212
tempfile = ">=3.0.2"
13-

virtio_sys/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ version = "0.1.0"
44
authors = ["The Chromium OS Authors"]
55

66
[dependencies]
7-
sys_util = { path = "../sys_util" }

vmm/src/device_config/net.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ impl NetworkInterfaceConfig {
4949
self.body = body;
5050
}
5151

52-
pub fn id_as_str(&self) -> &str {
53-
self.id.as_str()
54-
}
55-
5652
pub fn take_tap(&mut self) -> Option<Tap> {
5753
self.tap.take()
5854
}

0 commit comments

Comments
 (0)