Skip to content

Commit

Permalink
fix: improve readability Update hashed.rs (#3070)
Browse files Browse the repository at this point in the history
The comma after `T::type_name()` doesn't cause an error, but it is
redundant, so I removed it to improve readability.

Signed-off-by: Dmitry <[email protected]>
  • Loading branch information
mdqst authored Dec 22, 2024
1 parent 8464e81 commit 11d5d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linera-base/src/hashed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl<T: Clone> Clone for Hashed<T> {

impl<T: async_graphql::OutputType> async_graphql::TypeName for Hashed<T> {
fn type_name() -> Cow<'static, str> {
format!("Hashed{}", T::type_name(),).into()
format!("Hashed{}", T::type_name()).into()
}
}

Expand Down

0 comments on commit 11d5d01

Please sign in to comment.