rust/src/libcore
kennytm 51bd916af4 Rollup merge of #46356 - daboross:patch-2, r=sfackler
Reject '2' as a binary digit in internals of b: number formatting

The `radix!` macro generates an implementation of the private trait `GenericRadix`, and the code replaced changes Binary's implementation to no longer accept '2' as a valid digit to print.

Granted, this code is literally only ever called from another method in this private trait, and that method has logic to never hand a '2' to the printing function. Even given this, the code's there, I thought it would be best to fix this for clarity of anyone reading it.
2017-11-29 18:37:54 +08:00
..
benches Auto merge of #45595 - scottmcm:iter-try-fold, r=dtolnay 2017-11-17 07:43:08 +00:00
fmt Reject '2' as a binary digit in internals of 'b' formatting 2017-11-28 21:35:18 -08:00
hash Fix broken link markup in Hasher::finish docs 2017-11-10 20:58:03 +01:00
iter Auto merge of #45039 - QuietMisdreavus:doc-spotlight, r=GuillaumeGomez,QuietMisdreavus 2017-11-21 03:03:28 +00:00
num Rollup merge of #46287 - SimonSapin:stable-constness, r=aturon 2017-11-29 18:37:47 +08:00
ops Update books for next release 2017-11-20 08:30:22 -05:00
prelude Run rustfmt on libcore/prelude folder 2016-10-16 22:13:04 +05:30
slice Auto merge of #45595 - scottmcm:iter-try-fold, r=dtolnay 2017-11-17 07:43:08 +00:00
str Add missing links in FromStr docs 2017-11-13 23:25:52 +01:00
sync Rollup merge of #46293 - ollie27:atomic_bool_from, r=BurntSushi 2017-11-29 18:37:50 +08:00
tests Rollup merge of #46287 - SimonSapin:stable-constness, r=aturon 2017-11-29 18:37:47 +08:00
any.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
array.rs Pass formatter in TryFromSliceError Display impl 2017-09-29 11:26:19 -04:00
borrow.rs Update older URLs pointing to the first edition of the Book 2017-06-15 00:04:00 +09:00
Cargo.toml std: Add a new wasm32-unknown-unknown target 2017-11-19 21:07:41 -08:00
cell.rs Stabilize const-calling existing const-fns in std 2017-11-26 23:43:44 +01:00
char.rs std: Stabilize char_escape_debug 2017-07-25 07:09:31 -07:00
char_private.rs regenerate libcore/char_private.rs 2017-10-26 22:32:24 -07:00
clone.rs Update bootstrap compiler 2017-08-31 06:58:58 -07:00
cmp.rs Auto merge of #44943 - nivkner:fixme_fixup, r=dtolnay 2017-10-05 19:52:00 +00:00
convert.rs Simplify implementation of Display and Error for convert::Infallible. 2017-09-23 17:27:02 -07:00
default.rs Fix "Quasi-quoting is inefficient" warning in incremental rustbuild. 2017-07-18 01:49:40 +08:00
internal_macros.rs fix version number 2017-09-21 15:46:17 -04:00
intrinsics.rs rustc: Add support for some more x86 SIMD ops 2017-11-25 11:03:13 -08:00
iter_private.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
lib.rs Stabilize const-calling existing const-fns in std 2017-11-26 23:43:44 +01:00
macros.rs Fix some docs summary nits 2017-11-20 14:46:31 -02:00
marker.rs core::marker fix typo 2017-11-24 03:04:57 -06:00
mem.rs Stabilize const-calling existing const-fns in std 2017-11-26 23:43:44 +01:00
nonzero.rs Rollup merge of #46287 - SimonSapin:stable-constness, r=aturon 2017-11-29 18:37:47 +08:00
option.rs Refactor Option::filter method 2017-11-11 17:32:29 +03:00
panicking.rs Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
ptr.rs Rollup merge of #46287 - SimonSapin:stable-constness, r=aturon 2017-11-29 18:37:47 +08:00
raw.rs Fix up various links 2017-03-20 10:10:16 -04:00
result.rs core: derive Clone for result::IntoIter 2017-10-10 10:18:34 -07:00
tuple.rs Update bootstrap compiler 2017-08-31 06:58:58 -07:00
unit.rs impl FromIterator<()> for () 2017-10-18 23:12:37 -07:00