From 595985f5e17fafedc1cf6a72691ea7eb7dc20174 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 9 Sep 2023 20:20:11 +0200 Subject: //: 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. --- src/machine.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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(slf: &mut Tokenizer) -> Result where -- cgit v1.2.3