]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #40505 - frewsxcv:hash-docs, r=alexcrichton
authorCorey Farwell <coreyf@rwell.org>
Fri, 17 Mar 2017 12:49:03 +0000 (08:49 -0400)
committerGitHub <noreply@github.com>
Fri, 17 Mar 2017 12:49:03 +0000 (08:49 -0400)
A few improvements to the `core::hash` top-level docs.

Primarily opened to address the concerns brought up in
https://github.com/rust-lang/rust/issues/40498.

* run rustfmt on code blocks
* use `DefaultHasher` instead of deprecated `SipHasher`
* rename `hash` to `calculate_hash` to prevent confusion with the `hash`
  method

1  2 
src/libcore/hash/mod.rs

Simple merge