Skip to content

Commit d86dcc0

Browse files
authored
Use correct variable name in Base64 hash example (#374)
1 parent f430ed2 commit d86dcc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ If you need to serialize hash value into string, you can use crates like [`base1
105105
use base64ct::{Base64, Encoding};
106106

107107
let base64_hash = Base64::encode_string(&hash);
108-
println!("Base64-encoded hash: {}", hex_hash);
108+
println!("Base64-encoded hash: {}", base64_hash);
109109

110110
let hex_hash = base16ct::lower::encode_string(&hash);
111111
println!("Hex-encoded hash: {}", hex_hash);

0 commit comments

Comments
 (0)