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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue