Skip to content

Commit 5c47e9b

Browse files
committed
mctp-linux: cargo clippy fixes
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
1 parent d6e3415 commit 5c47e9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mctp-linux/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ impl std::str::FromStr for MctpAddr {
511511
type Err = String;
512512

513513
fn from_str(s: &str) -> std::result::Result<MctpAddr, String> {
514-
let mut parts = s.split(|c| c == ',');
514+
let mut parts = s.split(',');
515515

516516
let p1 = parts.next();
517517
let p2 = parts.next();

0 commit comments

Comments
 (0)