Skip to content

Commit 6adaaec

Browse files
committed
fix docs
1 parent cca0b5a commit 6adaaec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protocols/upnp/src/behaviour.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ fn remove_port_mapping<P: Provider + 'static>(
8484
.boxed()
8585
}
8686

87-
/// A [`Gateway`] event.
87+
/// A [`Provider::Gateway`] event.
8888
#[derive(Debug)]
8989
enum Event {
9090
/// Port was successfully mapped.
@@ -138,7 +138,7 @@ enum MappingState {
138138
Permanent,
139139
}
140140

141-
/// Current state of the UPnP [`Transport`].
141+
/// Current state of the UPnP [`Provider::Gateway`].
142142
enum GatewayState<P: Provider> {
143143
Searching(BoxFuture<'static, Result<(P::Gateway, Ipv4Addr), Box<dyn std::error::Error>>>),
144144
Available((Arc<P::Gateway>, Ipv4Addr)),

0 commit comments

Comments
 (0)