Skip to content

Commit 5527024

Browse files
committed
Small doc improvements
1 parent ee18645 commit 5527024

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

futures-util/src/sink/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ pub trait SinkExt: Sink {
256256
}
257257

258258
/// Wraps a [`Sink`] into a sink compatible with libraries using
259-
/// futures 0.1 `Sink`. Requires the `compat` feature to enable.
259+
/// futures 0.1 `Sink`. Requires the `compat` feature to be enabled.
260260
#[cfg(feature = "compat")]
261261
fn compat<E>(self, executor: E) -> Compat<Self, E>
262262
where Self: Sized + Unpin,

futures-util/src/try_stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ pub trait TryStreamExt: TryStream {
371371
}
372372

373373
/// Wraps a [`TryStream`] into a stream compatible with libraries using
374-
/// futures 0.1 `Stream`. Requires the `compat` feature to enable.
374+
/// futures 0.1 `Stream`. Requires the `compat` feature to be enabled.
375375
#[cfg(feature = "compat")]
376376
fn compat<E>(self, executor: E) -> Compat<Self, E>
377377
where Self: Sized + Unpin,

0 commit comments

Comments
 (0)