Skip to content

Commit 6dd6551

Browse files
committed
fix lints
1 parent ead5853 commit 6dd6551

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lazer/sdk/rust/protocol/src/symbol_v3.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ impl FromStr for SymbolV3 {
102102
}
103103
_ => {
104104
return Err(format!(
105-
"Invalid base/quote format: expected format 'base' or 'base/quote', got '{}'",
106-
base_quote_part
105+
"Invalid base/quote format: expected format 'base' or 'base/quote', got '{base_quote_part}'"
107106
));
108107
}
109108
};
@@ -192,8 +191,7 @@ mod tests {
192191
for input in invalid {
193192
assert!(
194193
input.parse::<SymbolV3>().is_err(),
195-
"Expected parsing to fail for: {}",
196-
input
194+
"Expected parsing to fail for: {input}"
197195
);
198196
}
199197
}

0 commit comments

Comments
 (0)