File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ impl TcpStream {
262
262
/// indefinitely. It is an error to pass the zero `Duration` to this
263
263
/// method.
264
264
///
265
- /// # Note
265
+ /// # Platform-specific behavior
266
266
///
267
267
/// Platforms may return a different error code whenever a read times out as
268
268
/// a result of setting this option. For example Unix typically returns an
@@ -293,7 +293,7 @@ impl TcpStream {
293
293
/// indefinitely. It is an error to pass the zero [`Duration`] to this
294
294
/// method.
295
295
///
296
- /// # Note
296
+ /// # Platform-specific behavior
297
297
///
298
298
/// Platforms may return a different error code whenever a write times out
299
299
/// as a result of setting this option. For example Unix typically returns
@@ -323,7 +323,7 @@ impl TcpStream {
323
323
///
324
324
/// If the timeout is [`None`], then [`read`] calls will block indefinitely.
325
325
///
326
- /// # Note
326
+ /// # Platform-specific behavior
327
327
///
328
328
/// Some platforms do not provide access to the current timeout.
329
329
///
@@ -349,7 +349,7 @@ impl TcpStream {
349
349
///
350
350
/// If the timeout is [`None`], then [`write`] calls will block indefinitely.
351
351
///
352
- /// # Note
352
+ /// # Platform-specific behavior
353
353
///
354
354
/// Some platforms do not provide access to the current timeout.
355
355
///
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ impl UdpSocket {
231
231
/// indefinitely. It is an error to pass the zero [`Duration`] to this
232
232
/// method.
233
233
///
234
- /// # Note
234
+ /// # Platform-specific behavior
235
235
///
236
236
/// Platforms may return a different error code whenever a read times out as
237
237
/// a result of setting this option. For example Unix typically returns an
@@ -262,7 +262,7 @@ impl UdpSocket {
262
262
/// indefinitely. It is an error to pass the zero [`Duration`] to this
263
263
/// method.
264
264
///
265
- /// # Note
265
+ /// # Platform-specific behavior
266
266
///
267
267
/// Platforms may return a different error code whenever a write times out
268
268
/// as a result of setting this option. For example Unix typically returns
Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ pub fn panicking() -> bool {
652
652
/// The thread may sleep longer than the duration specified due to scheduling
653
653
/// specifics or platform-dependent functionality.
654
654
///
655
- /// # Platform behavior
655
+ /// # Platform-specific behavior
656
656
///
657
657
/// On Unix platforms this function will not return early due to a
658
658
/// signal being received or a spurious wakeup.
@@ -676,7 +676,7 @@ pub fn sleep_ms(ms: u32) {
676
676
/// The thread may sleep longer than the duration specified due to scheduling
677
677
/// specifics or platform-dependent functionality.
678
678
///
679
- /// # Platform behavior
679
+ /// # Platform-specific behavior
680
680
///
681
681
/// On Unix platforms this function will not return early due to a
682
682
/// signal being received or a spurious wakeup. Platforms which do not support
@@ -837,7 +837,7 @@ pub fn park_timeout_ms(ms: u32) {
837
837
///
838
838
/// See the [park documentation][park] for more details.
839
839
///
840
- /// # Platform behavior
840
+ /// # Platform-specific behavior
841
841
///
842
842
/// Platforms which do not support nanosecond precision for sleeping will have
843
843
/// `dur` rounded up to the nearest granularity of time they can sleep for.
You can’t perform that action at this time.
0 commit comments