aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-15 11:58:15 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 06:41:55 +0200
commitc00d5cdec03364f064a1273a5d806f3600abf09a (patch)
tree2514ec92614a94bf66b8e60837fc1303f51821c9
parentbf4eb3abf287f3b24ecda648a0b85ef2a3686263 (diff)
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.
-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 {