We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
impl_buffered_source
1 parent 41763e9 commit 56619f8Copy full SHA for 56619f8
src/reader/buffered_reader.rs
@@ -231,7 +231,11 @@ macro_rules! impl_buffered_source {
231
};
232
}
233
234
-// Make it public for use in async implementations
+// Make it public for use in async implementations.
235
+// New rustc reports
236
+// > warning: the item `impl_buffered_source` is imported redundantly
237
+// so make it public only when async feature is enabled
238
+#[cfg(feature = "async-tokio")]
239
pub(super) use impl_buffered_source;
240
241
/// Implementation of `XmlSource` for any `BufRead` reader using a user-given
0 commit comments