capitalize comment

This commit is contained in:
Simon Gardling 2022-05-25 13:09:28 -04:00
parent 731a958d4d
commit f3f0aa53a9

View File

@ -166,7 +166,7 @@ pub const fn hashed_storage_read(data: &str) -> Option<(HashBytes, &[u8])> {
// Transmute data into slice
let decoded_1: &[u8] = unsafe { std::mem::transmute::<&str, &[u8]>(data) };
// return hash and decoded data
// Return hash and decoded data
Some((
unsafe { *(decoded_1[..HASH_LENGTH].as_ptr() as *const HashBytes) },
&decoded_1[HASH_LENGTH..],