We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3a80c2 commit 4fd0f3fCopy full SHA for 4fd0f3f
src/utils.rs
@@ -148,7 +148,7 @@ where
148
{
149
struct StringOrNumberVisitor<T>(std::marker::PhantomData<T>);
150
151
- impl<'de, T> Visitor<'de> for StringOrNumberVisitor<T>
+ impl<T> Visitor<'_> for StringOrNumberVisitor<T>
152
where
153
T: FromStr + Copy,
154
T::Err: fmt::Display,
src/wallet/test/utils/helpers.rs
@@ -1,5 +1,6 @@
1
use super::*;
2
3
+/// Panic if the given expression doesn't match the provided pattern, logging the unexpected result
4
#[macro_export]
5
macro_rules! assert_matches {
6
($expression:expr, $pattern:pat $(if $guard:expr)? $(,)?) => {
0 commit comments