Skip to content

Commit 0390bf1

Browse files
committed
kinda weird this didnt throw a clippy, fmt, or compiler error on local
1 parent c31a623 commit 0390bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust-tests/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ mod tests {
320320
let pkg = get_package(tmp.as_dir(), "pkg_hash".to_string());
321321
let mut variant = BTreeMap::new();
322322
variant.insert("target_platform".into(), host_subdir().into());
323-
let hash = HashInfo::from_variant(&variant, &NoArchType::None);
323+
let hash = HashInfo::from_variant(&variant, &NoArchType::none());
324324
let pkg_hash = format!("pkg_hash-1.0.0-{hash}_my_pkg.tar.bz2");
325325
let pkg = pkg.display().to_string();
326326
assert!(pkg.ends_with(&pkg_hash));

0 commit comments

Comments
 (0)