Skip to content

Commit

Permalink
Label function documentation as documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryleung-solana committed Jul 12, 2024
1 parent 43fc858 commit 84ffd65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quinn/src/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ impl Endpoint {
)
}

// Returns relevant stats from this Endpoint
//
/// Returns relevant stats from this Endpoint
pub fn stats(&self) -> EndpointStats {
let state = self.inner.state.lock().unwrap();
let open_connections = state.inner.open_connections() as u64;
Expand Down

0 comments on commit 84ffd65

Please sign in to comment.