remove test warnings (#12201)

# Description
I get warnings message when running tests:
```
warning: unused import: `Feature`
  --> crates/nu-plugin/src/protocol/mod.rs:21:25
   |
21 | pub use protocol_info::{Feature, Protocol};
   |                         ^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default
```
I think it's useless can can be removed.
This commit is contained in:
Wind 2024-03-14 22:34:00 +08:00 committed by GitHub
parent 64bab4b6a6
commit e2907e7e3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,9 +16,9 @@ use nu_protocol::{
Span, Spanned, Value,
};
pub use plugin_custom_value::PluginCustomValue;
pub use protocol_info::ProtocolInfo;
#[cfg(test)]
pub use protocol_info::{Feature, Protocol};
pub use protocol_info::Protocol;
pub use protocol_info::ProtocolInfo;
use serde::{Deserialize, Serialize};
/// A sequential identifier for a stream