Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Justus Fluegel <justusfluegel@gmail.com>
  • Loading branch information
JustusFluegel committed Apr 25, 2024
1 parent d75402a commit 5fb48c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions axum-macros/src/typed_path.rs
Expand Up @@ -106,9 +106,10 @@ fn expand_named_fields(

let (impl_generics, ty_generics, where_clause) = generics.split_for_impl();

// use field types here to avoid uneeded bounds on generics
// use field types here to avoid unneeded bounds on generics
// note: this might introduce trivial bounds like i32: Display
// even if that isn't required per se, but that isn't really a issue
// since they would be implied by the usage anyways
let field_types = fields
.named
.iter()
Expand Down Expand Up @@ -243,7 +244,7 @@ fn expand_unnamed_fields(

let (impl_generics, ty_generics, where_clause) = generics.split_for_impl();

// use field types here to avoid uneeded bounds on generics
// use field types here to avoid unneeded bounds on generics
// note: this might introduce trivial bounds like i32: Display
// even if that isn't required per se, but that isn't really a issue
// since they would be implied by the usage anyways
Expand Down

0 comments on commit 5fb48c9

Please sign in to comment.