We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cba1178 commit ba86f7bCopy full SHA for ba86f7b
xtask/src/lib.rs
@@ -235,6 +235,6 @@ pub fn check_host_side() {
235
{
236
let a = VectActive::from(19).unwrap();
237
let b = VectActive::from(20).unwrap();
238
- assert_eq!(a < b, true);
+ assert!(a < b);
239
}
240
xtask/src/main.rs
@@ -2,8 +2,8 @@ use std::{env, process};
2
use xtask::{assemble_blobs, check_blobs, check_host_side};
3
4
fn main() {
5
- let subcommand = env::args().skip(1).next();
6
- match subcommand.as_ref().map(|s| &**s) {
+ let subcommand = env::args().nth(1);
+ match subcommand.as_deref() {
7
Some("assemble") => assemble_blobs(),
8
Some("check-blobs") => check_blobs(),
9
Some("check-host-side") => check_host_side(),
0 commit comments