Skip to content

Commit eff61d2

Browse files
fix: replace assert!(false) with panic!() for clippy compliance
1 parent 52b9017 commit eff61d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ status_code: 301
485485
DeprecationAction::Redirect { status_code } => {
486486
assert_eq!(status_code, 301);
487487
}
488-
_ => assert!(false, "Expected Redirect action"),
488+
_ => panic!("Expected Redirect action"),
489489
}
490490
}
491491

0 commit comments

Comments
 (0)