Remove redundant imports

These became warnings in a recent nightly.

The TryFrom/TryInto imports were missed in
4089891f6c, but the rest are truly
redundant.
This commit is contained in:
Emmanuel Gil Peyrot 2024-02-27 15:16:47 +01:00
commit 1bab5c3cd9
22 changed files with 2 additions and 27 deletions

View file

@ -5,9 +5,7 @@ use bytes::{BufMut, BytesMut};
use log::debug;
use minidom::tree_builder::TreeBuilder;
use rxml::{Lexer, PushDriver, RawParser};
use std;
use std::collections::HashMap;
use std::default::Default;
use std::fmt::Write;
use std::io;
#[cfg(feature = "syntax-highlighting")]
@ -252,7 +250,6 @@ impl<'a> std::io::Write for WriteBytes<'a> {
#[cfg(test)]
mod tests {
use super::*;
use bytes::BytesMut;
#[test]
fn test_stream_start() {