fix typo in axum-macros README: according to Cargo.toml msrv is 1.60 (#2204)

This commit is contained in:
nabbisen
2023-09-11 12:03:50 +00:00
committed by GitHub
parent 3f5c907e2d
commit 70171980cc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ fn replace_nest_with_nest_service(mut item_fn: ItemFn) -> Option<ItemFn> {
let mut visitor = NestToNestService::default();
syn::visit_mut::visit_item_fn_mut(&mut visitor, &mut item_fn);
(visitor.count > 0).then(|| item_fn)
(visitor.count > 0).then_some(item_fn)
}
#[derive(Default)]