Skip to content

Commit 4fd0f3f

Browse files
committed
lint code with rust 1.83.0
1 parent e3a80c2 commit 4fd0f3f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ where
148148
{
149149
struct StringOrNumberVisitor<T>(std::marker::PhantomData<T>);
150150

151-
impl<'de, T> Visitor<'de> for StringOrNumberVisitor<T>
151+
impl<T> Visitor<'_> for StringOrNumberVisitor<T>
152152
where
153153
T: FromStr + Copy,
154154
T::Err: fmt::Display,

src/wallet/test/utils/helpers.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
use super::*;
22

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

0 commit comments

Comments
 (0)