We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e50b7d2 commit 74e78a8Copy full SHA for 74e78a8
test/test-manager/src/tests/tunnel_state.rs
@@ -34,7 +34,7 @@ fn set_bridge_interface_mtu(
34
) -> anyhow::Result<scopeguard::ScopeGuard<(), impl FnOnce(())>> {
35
use anyhow::Context;
36
use test_rpc::net::unix;
37
- let bridge_iface: String = String::new("eth0");
+ let bridge_iface: String = String::from("eth0");
38
39
let previous_mtu = unix::get_mtu(&bridge_iface)
40
.with_context(|| format!("Failed to get MTU for bridge interface '{bridge_iface}'"))?;
0 commit comments