We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed700e commit b7baaebCopy full SHA for b7baaeb
iroh/src/protocol.rs
@@ -170,7 +170,7 @@ pub trait ProtocolHandler: Send + Sync + std::fmt::Debug + 'static {
170
171
/// Handle an incoming connection.
172
///
173
- /// Can be implemented as `async fn accept(&self, connection: Connection) -> Result<Connection>`.
+ /// Can be implemented as `async fn accept(&self, connection: Connection) -> Result<()>`.
174
175
/// The returned future runs on a freshly spawned tokio task so it can be long-running.
176
0 commit comments