Skip to content

Commit 81b707d

Browse files
committed
Remove some obsolete comments.
ignore really is the correct things to do for these doc tests. compile_fail should only be used for examples that demonstrate a compile failure by design, not for stuff that only works on one platform.
1 parent 50374c6 commit 81b707d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/sys/termios.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
//!
8888
//! On non-BSDs, `cfgetispeed()` and `cfgetospeed()` both return a `BaudRate`:
8989
//!
90-
// FIXME: Replace `ignore` with `compile_fail` once 1.22 is the minimum support Rust version
9190
#![cfg_attr(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
9291
target_os = "macos", target_os = "netbsd", target_os = "openbsd"),
9392
doc = " ```rust,ignore")]
@@ -106,7 +105,6 @@
106105
//!
107106
//! But on the BSDs, `cfgetispeed()` and `cfgetospeed()` both return `u32`s:
108107
//!
109-
// FIXME: Replace `ignore` with `compile_fail` once 1.22 is the minimum support Rust version
110108
#![cfg_attr(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
111109
target_os = "macos", target_os = "netbsd", target_os = "openbsd"),
112110
doc = " ```rust")]
@@ -125,7 +123,6 @@
125123
//!
126124
//! It's trivial to convert from a `BaudRate` to a `u32` on BSDs:
127125
//!
128-
// FIXME: Replace `ignore` with `compile_fail` once 1.22 is the minimum support Rust version
129126
#![cfg_attr(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
130127
target_os = "macos", target_os = "netbsd", target_os = "openbsd"),
131128
doc = " ```rust")]
@@ -145,7 +142,6 @@
145142
//! And on BSDs you can specify arbitrary baud rates (**note** this depends on hardware support)
146143
//! by specifying baud rates directly using `u32`s:
147144
//!
148-
// FIXME: Replace `ignore` with `compile_fail` once 1.22 is the minimum support Rust version
149145
#![cfg_attr(any(target_os = "freebsd", target_os = "dragonfly", target_os = "ios",
150146
target_os = "macos", target_os = "netbsd", target_os = "openbsd"),
151147
doc = " ```rust")]

0 commit comments

Comments
 (0)