Skip to content

Commit 000c0a6

Browse files
committed
Punctuate Box->ptr comment in TokenBuffer constructor
1 parent 5d7d112 commit 000c0a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/buffer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ impl TokenBuffer {
9090
// pointer into it.
9191
let entries = entries.into_boxed_slice();
9292
let len = entries.len();
93-
// Convert our boxed slice into a pointer to the first element early,
94-
// to avoid invalidating pointers into this slice when we move the Box
95-
// see https://github.com/rust-lang/unsafe-code-guidelines/issues/326
93+
// Convert boxed slice into a pointer to the first element early, to
94+
// avoid invalidating pointers into this slice when we move the Box.
95+
// See https://github.com/rust-lang/unsafe-code-guidelines/issues/326
9696
let entries = Box::into_raw(entries) as *mut Entry;
9797
for (idx, group) in groups {
9898
// We know that this index refers to one of the temporary

0 commit comments

Comments
 (0)