Skip to content

Commit cfbfdb1

Browse files
Fix docs to no longer mention runtime but async_std
1 parent 014a453 commit cfbfdb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub fn main(_attr: TokenStream, item: TokenStream) -> TokenStream {
5656

5757
if name != "main" {
5858
return TokenStream::from(quote_spanned! { name.span() =>
59-
compile_error!("only the main function can be tagged with #[runtime::main]"),
59+
compile_error!("only the main function can be tagged with #[async_std::main]"),
6060
});
6161
}
6262

0 commit comments

Comments
 (0)