Skip to content

Commit

Permalink
lint code with rust 1.83.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Dec 4, 2024
1 parent e3a80c2 commit 4fd0f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ where
{
struct StringOrNumberVisitor<T>(std::marker::PhantomData<T>);

impl<'de, T> Visitor<'de> for StringOrNumberVisitor<T>
impl<T> Visitor<'_> for StringOrNumberVisitor<T>
where
T: FromStr + Copy,
T::Err: fmt::Display,
Expand Down
1 change: 1 addition & 0 deletions src/wallet/test/utils/helpers.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use super::*;

/// Panic if the given expression doesn't match the provided pattern, logging the unexpected result
#[macro_export]
macro_rules! assert_matches {
($expression:expr, $pattern:pat $(if $guard:expr)? $(,)?) => {
Expand Down

0 comments on commit 4fd0f3f

Please sign in to comment.