Skip to content

Commit 5e8c183

Browse files
committed
fix code comment
1 parent 9ab5589 commit 5e8c183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

block-buffer/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ where
128128
#[inline(always)]
129129
pub fn get_pos(&self) -> usize {
130130
let pos = self.pos as usize;
131-
// SAFETY: `pos` is set only to correct values for given `K`
131+
// SAFETY: `pos` is set only to correct values for given `Kind`
132132
unsafe {
133133
Kind::unreachable_hint(pos, BlockSize::USIZE);
134134
}

0 commit comments

Comments
 (0)