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 @@
|
||||
///
|
||||
/// Implementations of `hash` should ensure that the data they
|
||||
/// 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.
|
||||
///
|
||||
/// For example, the standard implementation of [`Hash` for `&str`][impl] passes an extra
|
||||
|
Loading…
Reference in New Issue
Block a user