From b3f6791898aab01145bcb342ebce639b57c764a6 Mon Sep 17 00:00:00 2001 From: Piotr Czarnecki Date: Mon, 4 Jul 2016 13:28:19 +0200 Subject: [PATCH] Correct phrasing --- text/0000-one-shot-hashing.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/text/0000-one-shot-hashing.md b/text/0000-one-shot-hashing.md index af10440cb7f..4beccb43a7d 100644 --- a/text/0000-one-shot-hashing.md +++ b/text/0000-one-shot-hashing.md @@ -20,10 +20,10 @@ compound types produce unique streams. For example, hashing `("ab", "c")` and Hashing in one shot is possible even today with a custom hasher for constant- sized types. However, HashMap keys are often strings and slices. In order to -allow fast, specialized hashing for more types, we need a clean way of -handling single writes. Hashing of strings and slices performs two writes to a -stream: one for a delimiter and the other for the content. We need a way of -conveying the distinction between the delimiter and actual content. In the +allow fast, specialized hashing for variable-length types, we need a clean way +of handling single writes. Hashing of strings and slices performs two writes +to a stream: one for a delimiter and the other for the content. We need a way +of conveying the distinction between the delimiter and actual content. In the case of one-shot hashing, the delimiter can be ignored. # Detailed design