Skip to content

Commit 9477e99

Browse files
refactor(cli): fix clippy warning
Signed-off-by: Kevin W Matthews <[email protected]>
1 parent d8f157d commit 9477e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ilp-cli/src/interpreter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl NodeClient<'_> {
144144
_ => Err(Error::ProtocolErr("Unexpected protocol")),
145145
}?;
146146

147-
if let Err(_) = url.set_scheme(scheme) {
147+
if url.set_scheme(scheme).is_err() {
148148
return Err(Error::SchemeErr());
149149
};
150150

0 commit comments

Comments
 (0)