aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r--src/tokenizer.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 44793a5..ee8f893 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -47,9 +47,6 @@ pub struct Tokenizer<R: Reader, E: Emitter<R> = DefaultEmitter<R, ()>> {
impl<R: Reader> Tokenizer<R> {
/// Create a new tokenizer from some input.
///
- /// `input` can be `&String` or `&str` at the moment, as those are the types for which
- /// [`crate::Readable`] is implemented, but you can implement that trait on your own types.
- ///
/// Patches are welcome for providing an efficient implementation over async streams,
/// iterators, files, etc, as long as any dependencies come behind featureflags.
pub fn new<'a, S: Readable<'a, Reader = R>>(input: S) -> Self {