Skip to content

Commit 6104c3d

Browse files
authored
Fix wrong return type (#63)
Co-authored-by: Dragonchu <dr.dragonchu@gmail.com>
1 parent 9a01cb2 commit 6104c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

booksrc/chapter-simple-bump.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl BumpBlock {
5959
None
6060
} else {
6161
self.cursor = next_ptr as *const u8;
62-
Some(next_ptr)
62+
Some(next_ptr as *const u8)
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)