Skip to content

Commit

Permalink
Auto merge of #413 - ethanpailes:input-comment-update, r=BurntSushi
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Nov 8, 2017
2 parents 37b6396 + 98ef163 commit cd4ebd3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,6 @@ impl<'t> Input for CharInput<'t> {
}

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

0 comments on commit cd4ebd3

Please sign in to comment.