Skip to content

Commit

Permalink
acceptor: fix nightly doc_overindented_list_items warns
Browse files Browse the repository at this point in the history
Of the form:
```
warning: doc list item overindented
   --> librustls/src/acceptor.rs:219:9
    |
219 |     ///      with rustls_accepted_into_connection.
    |         ^^^^^ help: try using `   ` (3 spaces)
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
    = note: `#[warn(clippy::doc_overindented_list_items)]` on by default
```
  • Loading branch information
cpu committed Feb 5, 2025
1 parent c9b1c88 commit b3be21b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions librustls/src/acceptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ impl rustls_accepted {
/// - The SNI contains a NUL byte.
/// - The `accepted` parameter was NULL.
/// - The `accepted` parameter was already transformed into a connection
/// with rustls_accepted_into_connection.
/// with rustls_accepted_into_connection.
#[no_mangle]
pub extern "C" fn rustls_accepted_server_name(
accepted: *const rustls_accepted,
Expand Down Expand Up @@ -331,7 +331,7 @@ impl rustls_accepted {
/// - i is greater than the number of offered ALPN protocols.
/// - The client did not offer the ALPN extension.
/// - The `accepted` parameter was already transformed into a connection
/// with rustls_accepted_into_connection.
/// with rustls_accepted_into_connection.
///
/// The returned value is valid until rustls_accepted_into_connection or
/// rustls_accepted_free is called on the same `accepted`. It is not owned
Expand Down

0 comments on commit b3be21b

Please sign in to comment.