Skip to content

Commit afc167f

Browse files
authored
result -> finalize in readme (#180)
1 parent 22f903a commit afc167f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ let data = b"Hello world!";
9494
hasher.update(data);
9595
// `update` can be called repeatedly and is generic over `AsRef<[u8]>`
9696
hasher.update("String data");
97-
// Note that calling `result()` consumes hasher
97+
// Note that calling `finalize()` consumes hasher
9898
let hash = hasher.finalize();
9999
println!("Result: {:x}", hash);
100100
```

0 commit comments

Comments
 (0)