aboutsummaryrefslogtreecommitdiff
path: root/src/stream/stream/split.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/stream/split.rs')
-rw-r--r--src/stream/stream/split.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream/stream/split.rs b/src/stream/stream/split.rs
index 3a72fee..e2034e0 100644
--- a/src/stream/stream/split.rs
+++ b/src/stream/stream/split.rs
@@ -35,7 +35,7 @@ impl<S: Stream> Stream for SplitStream<S> {
}
}
-#[allow(bad_style)]
+#[allow(non_snake_case)]
fn SplitSink<S: Sink<Item>, Item>(lock: BiLock<S>) -> SplitSink<S, Item> {
SplitSink { lock, slot: None }
}