mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Update library/core/src/hash/mod.rs
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
This commit is contained in:
parent
2a5dcd5890
commit
749194d847
@ -157,7 +157,7 @@ mod sip;
|
|||||||
///
|
///
|
||||||
/// Implementations of `hash` should ensure that the data they
|
/// Implementations of `hash` should ensure that the data they
|
||||||
/// pass to the `Hasher` are prefix-free. That is,
|
/// pass to the `Hasher` are prefix-free. That is,
|
||||||
/// unequal values should cause two different byte sequences to be written,
|
/// unequal values should cause two different sequences of values to be written,
|
||||||
/// and neither of the two sequences should be a prefix of the other.
|
/// and neither of the two sequences should be a prefix of the other.
|
||||||
///
|
///
|
||||||
/// For example, the standard implementation of [`Hash` for `&str`][impl] passes an extra
|
/// For example, the standard implementation of [`Hash` for `&str`][impl] passes an extra
|
||||||
|
Loading…
Reference in New Issue
Block a user