diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index b24f4d12ebb..a456e466341 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -79,7 +79,7 @@ mod prim_bool { } /// write: /// /// ``` -/// # #![feature(never_type)] +/// #![feature(never_type)] /// # fn foo() -> u32 { /// let x: ! = { /// return 123 @@ -131,6 +131,7 @@ mod prim_bool { } /// [`Result`] which we can unpack like this: /// /// ```ignore (string-from-str-error-type-is-not-never-yet) +/// // NOTE: This does not work today! /// let Ok(s) = String::from_str("hello"); /// ``` ///