From 5fb48c9f263e34e3684cea0bc33af56abd0ac882 Mon Sep 17 00:00:00 2001 From: Justus Fluegel Date: Thu, 25 Apr 2024 04:17:00 +0200 Subject: [PATCH] Fix spelling Signed-off-by: Justus Fluegel --- axum-macros/src/typed_path.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/axum-macros/src/typed_path.rs b/axum-macros/src/typed_path.rs index 5f6e1d2ef7..399c38aff4 100644 --- a/axum-macros/src/typed_path.rs +++ b/axum-macros/src/typed_path.rs @@ -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() @@ -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