rust/src/libcore
bors 2fdccaffe6 Auto merge of #44015 - kennytm:hasher, r=alexcrichton
impl Hasher for {&mut Hasher, Box<Hasher>}

**Rationale:** The `Hash` trait has `fn hash<H: Hasher>(&self, state: &mut H)`, which can only accept a `Sized` hasher, even if the `Hasher` trait is object-safe. We cannot retroactively add the `?Sized` bound without breaking stability, thus implementing `Hasher` to a trait object reference is the next best solution.

**Warning:** These `impl` are insta-stable, and should need an FCP. I don't think a full RFC is necessary.
2017-09-12 21:39:08 +00:00
..
benches Use fold to implement Iterator::for_each 2017-06-21 13:22:27 -07:00
fmt Use a byte literal ASCII 0 instead of its decimal value 2017-08-29 10:01:12 -07:00
hash impl Hasher for {&mut Hasher, Box<Hasher>} 2017-09-12 17:28:07 +08:00
iter Minor Iterator::filter_map description rewording. 2017-08-18 21:19:30 -04:00
num Removed the incorrect documentation for from_str 2017-09-04 22:16:15 -04:00
ops add error message for the other case too 2017-09-03 13:10:54 +03:00
prelude Run rustfmt on libcore/prelude folder 2016-10-16 22:13:04 +05:30
slice Add [T]::swap_with_slice 2017-08-21 22:20:00 -07:00
str Auto merge of #43903 - oli-obk:alignto, r=aturon 2017-08-30 08:06:42 +00:00
sync Fix typos & us spellings 2017-08-15 21:56:30 +02:00
tests Disable the new Hasher tests on Emscripten. 2017-09-12 17:28:07 +08:00
any.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
array.rs Update bootstrap compiler 2017-08-31 06:58:58 -07:00
borrow.rs Update older URLs pointing to the first edition of the Book 2017-06-15 00:04:00 +09:00
Cargo.toml Integrate jobserver support to parallel codegen 2017-06-21 07:16:43 -07:00
cell.rs Fix inconsistent doc headings 2017-08-24 18:42:53 +02:00
char.rs std: Stabilize char_escape_debug 2017-07-25 07:09:31 -07:00
char_private.rs Reduce a table used for Debug impl of str. 2017-04-05 09:13:19 -07:00
clone.rs Update bootstrap compiler 2017-08-31 06:58:58 -07:00
cmp.rs Revert "Add clamp functions" 2017-09-08 16:07:21 -06:00
convert.rs Update older URLs pointing to the first edition of the Book 2017-06-15 00:04:00 +09:00
default.rs Fix "Quasi-quoting is inefficient" warning in incremental rustbuild. 2017-07-18 01:49:40 +08:00
internal_macros.rs Fix a few impl stability attributes 2017-01-29 13:31:47 +00:00
intrinsics.rs Update intrinsics.rs 2017-08-22 12:48:20 +02:00
iter_private.rs Various fixes to wording consistency in the docs 2017-03-22 17:19:52 +01:00
lib.rs *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
macros.rs Use rvalue promotion to 'static instead of static items. 2017-09-10 11:20:27 +03:00
marker.rs Removed as many "```ignore" as possible. 2017-06-23 15:31:53 +08:00
mem.rs Additional traits for std::mem::ManuallyDrop 2017-09-04 02:29:16 -07:00
nonzero.rs Add conversions from references to NonZero pointers, Unique, and Shared 2017-07-22 20:38:40 +02:00
option.rs Rollup merge of #43705 - panicbit:option_ref_mut_cloned, r=aturon 2017-08-29 21:40:53 +00:00
panicking.rs Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
ptr.rs Update bootstrap compiler 2017-08-31 06:58:58 -07:00
raw.rs Fix up various links 2017-03-20 10:10:16 -04:00
result.rs Add missing urls for Result struct 2017-08-18 16:48:07 +02:00
tuple.rs Update bootstrap compiler 2017-08-31 06:58:58 -07:00