Rename 'unstable-stream' feature to 'stream' (#733)

This commit is contained in:
Sean McArthur
2019-12-10 16:55:53 -08:00
committed by GitHub
parent 0f32c4a01a
commit 7631c0390e
6 changed files with 10 additions and 10 deletions

View File

@@ -65,10 +65,10 @@ impl Body {
/// # }
/// ```
///
/// # Unstable
/// # Optional
///
/// This requires the `unstable-stream` feature to be enabled.
#[cfg(feature = "unstable-stream")]
/// This requires the `stream` feature to be enabled.
#[cfg(feature = "stream")]
pub fn wrap_stream<S>(stream: S) -> Body
where
S: futures_core::stream::TryStream + Send + Sync + 'static,