Skip to content

Commit 5b5c02d

Browse files
committed
Allow unused methods in test code.
1 parent 839dd3e commit 5b5c02d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rcdom/tests/xml-tokenizer.rs

+1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ fn tokenize_xml(input: Vec<StrTendril>, opts: XmlTokenizerOpts) -> Vec<Token> {
140140
tok.sink.get_tokens()
141141
}
142142

143+
#[allow(dead_code)]
143144
trait JsonExt: Sized {
144145
fn get_str(&self) -> String;
145146
fn get_tendril(&self) -> StrTendril;

0 commit comments

Comments
 (0)