Skip to content

Commit 257ca19

Browse files
committed
Remove allow(dead_code) because it seems rustc doesn't warn.
1 parent a8358de commit 257ca19

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

macro/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ pub fn attr_macro_http_server(_attr: TokenStream, item: TokenStream) -> TokenStr
150150

151151
// In case the user needs it, provide a `main` function so that the
152152
// code compiles.
153-
#[allow(dead_code)]
154153
fn main() { unreachable!("HTTP-server components should be run wth `handle` rather than `main`") }
155154
}
156155
.into()

0 commit comments

Comments
 (0)