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 96f501a commit 1f4b515
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 @@ -71,8 +71,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 1f4b515

Please sign in to comment.