From 93d8343b831bdb04a465648b7c9969fd68cfa669 Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Thu, 27 Dec 2018 11:36:05 -0800 Subject: Fix span in char documentation --- src/libstd/primitive_docs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index 27e720533b2..7755d9339e6 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -302,7 +302,7 @@ mod prim_never { } /// ```text /// error: character literal may only contain one codepoint: 'é' /// let c = 'é'; -/// ^^^^ +/// ^^^ /// ``` /// /// Another implication of the 4-byte fixed size of a `char` is that -- cgit 1.4.1-3-g733a5 From 04c1a92fa0a5f6b58b1a24abdf2407dea00a3d50 Mon Sep 17 00:00:00 2001 From: varkor Date: Fri, 28 Dec 2018 19:28:57 +0000 Subject: Fix warning when compiling rustc --- src/libstd/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index aa4278a8799..6ded43dfed1 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -248,7 +248,6 @@ #![feature(const_cstr_unchecked)] #![feature(core_intrinsics)] #![feature(dropck_eyepatch)] -#![cfg_attr(stage0, feature(duration_as_u128))] #![feature(exact_size_is_empty)] #![feature(external_doc)] #![feature(fixed_size_array)] -- cgit 1.4.1-3-g733a5