Skip to content

Commit 5b1955b

Browse files
committed
Update a comment to name the correct macro.
1 parent 7142798 commit 5b1955b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ pub fn attr_macro_http_server(_attr: TokenStream, item: TokenStream) -> TokenStr
154154
// They export a function named `handle` which takes a `Request`
155155
// argument, and which may be called multiple times on the same
156156
// instance. To let users write a familiar `fn main` in a file
157-
// named src/main.rs, we provide this `wstd::main` macro, which
157+
// named src/main.rs, we provide this `wstd::http_server` macro, which
158158
// transforms the user's `fn main` into the appropriate `handle`
159159
// function.
160160
//

0 commit comments

Comments
 (0)