Skip to content

Commit cd4ebd3

Browse files
committed
Auto merge of #413 - ethanpailes:input-comment-update, r=BurntSushi
Tiny PR: update a the ByteInput comment At some ByteInput switched to being backed by actual bytes rather than a string. This commit just removes the dangling reference to the old representation. I just noticed this while reading through code, so I thought I would send the patch your way.
2 parents 37b6396 + 98ef163 commit cd4ebd3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/input.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,6 @@ impl<'t> Input for CharInput<'t> {
223223
}
224224

225225
/// An input reader over bytes.
226-
///
227-
/// N.B. We represent the reader with a string for now, since that gives us
228-
/// easy access to necessary Unicode decoding (used for word boundary look
229-
/// ahead/look behind).
230226
#[derive(Clone, Copy, Debug)]
231227
pub struct ByteInput<'t> {
232228
text: &'t [u8],

0 commit comments

Comments
 (0)