We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2e79a7 commit 172f16bCopy full SHA for 172f16b
src/libstd/primitive_docs.rs
@@ -79,7 +79,7 @@ mod prim_bool { }
79
/// write:
80
///
81
/// ```
82
-/// # #![feature(never_type)]
+/// #![feature(never_type)]
83
/// # fn foo() -> u32 {
84
/// let x: ! = {
85
/// return 123
@@ -131,6 +131,7 @@ mod prim_bool { }
131
/// [`Result<String, !>`] which we can unpack like this:
132
133
/// ```ignore (string-from-str-error-type-is-not-never-yet)
134
+/// // NOTE: This does not work today!
135
/// let Ok(s) = String::from_str("hello");
136
137
0 commit comments