Skip to content

Commit 356c504

Browse files
authored
chore: Remove doc_auto_cfg, doc_cfg_hide and fix typos (#2838)
1 parent 6c58ff0 commit 356c504

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

quic/s2n-quic-transport/src/ack/ack_transmission_state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ pub enum AckTransmissionState {
1414
/// state, the ACK Manager won't express interest in transmission, but
1515
/// will transmit ACK frames if other components are transmitting.
1616
Passive {
17-
/// The number of remaining tranmissions for the current ack ranges
17+
/// The number of remaining transmissions for the current ack ranges
1818
retransmissions: usize,
1919
},
2020

2121
/// An ACK frame is required to be transmitted. While in this state,
2222
/// the ACK Manager will express interest in transmission.
2323
Active {
24-
/// The number of remaining tranmissions for the current ack ranges
24+
/// The number of remaining transmissions for the current ack ranges
2525
retransmissions: usize,
2626
},
2727
}

quic/s2n-quic-transport/src/stream/receive_stream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl ReceiveStreamFlowController {
207207
/// This checks the Streams individual flow control limit as well as the
208208
/// connections flow control limit.
209209
/// For the connections limit the method will acquire the necessary remaining
210-
/// limit from the connetions flow controller.
210+
/// limit from the connections flow controller.
211211
fn acquire_window_up_to(
212212
&mut self,
213213
offset: VarInt,

quic/s2n-quic/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,6 @@
106106
// Tag docs with the required platform and features.
107107
// https://doc.rust-lang.org/rustdoc/unstable-features.html
108108
#![cfg_attr(docsrs, feature(doc_cfg))]
109-
#![cfg_attr(
110-
docsrs,
111-
feature(doc_auto_cfg),
112-
feature(doc_cfg_hide),
113-
doc(cfg_hide(doc))
114-
)]
115109

116110
#[macro_use]
117111
pub mod provider;

0 commit comments

Comments
 (0)