Skip to content

Commit

Permalink
Tweak docs
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 2, 2025
1 parent 3f9307c commit 7be95ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions futures-async-stream-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use crate::utils::{expr_async, parse_as_empty};

/// Processes streams using a for loop.
///
/// See crate level documentation for details.
/// See the crate-level documentation for details.
#[proc_macro_attribute]
pub fn for_await(args: TokenStream, input: TokenStream) -> TokenStream {
if let Err(e) = parse_as_empty(&args.into()) {
Expand All @@ -49,7 +49,7 @@ pub fn for_await(args: TokenStream, input: TokenStream) -> TokenStream {

/// Creates streams via coroutines.
///
/// See crate level documentation for details.
/// See the crate-level documentation for details.
#[proc_macro_attribute]
pub fn stream(args: TokenStream, input: TokenStream) -> TokenStream {
stream::attribute(args.into(), input.into(), parse::Context::Stream)
Expand All @@ -69,7 +69,7 @@ pub fn stream_block(input: TokenStream) -> TokenStream {

/// Creates streams via coroutines.
///
/// See crate level documentation for details.
/// See the crate-level documentation for details.
#[proc_macro_attribute]
pub fn try_stream(args: TokenStream, input: TokenStream) -> TokenStream {
stream::attribute(args.into(), input.into(), parse::Context::TryStream)
Expand Down

0 comments on commit 7be95ce

Please sign in to comment.