Skip to content

Commit 9cc2f2a

Browse files
LucioFrancoNemo157
authored andcommitted
Rename compat_sink to sink_compat
1 parent 47797e8 commit 9cc2f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

futures-util/src/compat/compat01as03.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub trait Sink01CompatExt: Sink01 {
7272
/// [`Sink<SinkItem = T, SinkError = E>`](futures::sink::Sink)
7373
/// into a futures 0.3
7474
/// [`Sink<SinkItem = T, SinkError = E>`](futures_sink::sink::Sink).
75-
fn compat_sink(self) -> Compat01As03Sink<Self, Self::SinkItem>
75+
fn sink_compat(self) -> Compat01As03Sink<Self, Self::SinkItem>
7676
where
7777
Self: Sized,
7878
{

0 commit comments

Comments
 (0)