From c00d5cdec03364f064a1273a5d806f3600abf09a Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 15 Aug 2023 11:58:15 +0200 Subject: fix(docs): remove outdated list of Readable impls dced8066f77f570dd3e396ec3570c71aa86c454e introduced a Readable impl for std::io::BufReader. Manually listing impls in a doc comment is a bad idea since such lists will just get out of date and there's no need for that since rustdoc automatically lists all implementations on the trait page. --- src/tokenizer.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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 = DefaultEmitter> { impl Tokenizer { /// 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 { -- cgit v1.2.3