diff --git a/mirrord/cli/src/port_forward.rs b/mirrord/cli/src/port_forward.rs index 413865b0a57..c014fab7c8f 100644 --- a/mirrord/cli/src/port_forward.rs +++ b/mirrord/cli/src/port_forward.rs @@ -870,7 +870,7 @@ enum IncomingMode { } impl IncomingMode { - /// Creates a new instance from the given [`LayerConfig`]. + /// Creates a new instance from the given [`IncomingConfig`]. fn new(config: &IncomingConfig) -> Self { if !config.is_steal() { return Self::Mirror; diff --git a/mirrord/layer/src/setup.rs b/mirrord/layer/src/setup.rs index b802a5b1cf8..0d03218caae 100644 --- a/mirrord/layer/src/setup.rs +++ b/mirrord/layer/src/setup.rs @@ -217,7 +217,7 @@ pub enum IncomingMode { } impl IncomingMode { - /// Creates a new instance from the given [`LayerConfig`]. + /// Creates a new instance from the given [`IncomingConfig`]. fn new(config: &IncomingConfig) -> Self { if !config.is_steal() { return Self::Mirror;