diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-09 20:20:11 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-28 10:36:08 +0200 |
commit | 595985f5e17fafedc1cf6a72691ea7eb7dc20174 (patch) | |
tree | f97f58642d2e6cc3ec56403b063285adacd49793 | |
parent | 826907487e2b593f1c54e98b59fe2f6eb8cb6937 (diff) |
//: remove wrong comment
Methods defined in another module don't have access to private fields,
so the function could very well have been implemented as a method.
-rw-r--r-- | src/machine.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/machine.rs b/src/machine.rs index 6d4dc10..fd4b36b 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -13,8 +13,6 @@ pub enum ControlToken { CdataOpen, } -// Note: This is not implemented as a method on Tokenizer because there's fields on Tokenizer that -// should not be available in this method, such as Tokenizer.to_reconsume or the Reader instance #[inline] pub fn consume<O, R, E>(slf: &mut Tokenizer<R, O, E>) -> Result<ControlToken, R::Error> where |