Skip to content

Commit 411a674

Browse files
committed
fix doc comment
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
1 parent 50c3820 commit 411a674

File tree

1 file changed

+1
-10
lines changed
  • async-log-attributes/src

1 file changed

+1
-10
lines changed

async-log-attributes/src/lib.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,7 @@ extern crate proc_macro;
99
use proc_macro::TokenStream;
1010
use quote::quote;
1111

12-
/// Defines the async main function.
13-
///
14-
/// # Examples
15-
///
16-
/// ```ignore
17-
/// #[span]
18-
/// async fn main() -> std::io::Result<()> {
19-
/// Ok(())
20-
/// }
21-
/// ```
12+
/// Defines the `instrument` function.
2213
#[proc_macro_attribute]
2314
pub fn instrument(_attr: TokenStream, item: TokenStream) -> TokenStream {
2415
let input = syn::parse_macro_input!(item as syn::ItemFn);

0 commit comments

Comments
 (0)