Skip to content

Commit

Permalink
Pass tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
khuey committed Apr 28, 2023
1 parent 9d5d536 commit fe7351c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ use crate::*;

#[test]
fn cpuid_impls_debug() {
fn debug_required<T: Debug>(t: T) {
}
fn debug_required<T: Debug>(t: T) {}

Check warning on line 12 in src/tests/mod.rs

View workflow job for this annotation

GitHub Actions / ci (stable)

unused variable: `t`

Check warning on line 12 in src/tests/mod.rs

View workflow job for this annotation

GitHub Actions / Coverage

unused variable: `t`

Check warning on line 12 in src/tests/mod.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

unused variable: `t`

debug_required(CpuId::new());
}

0 comments on commit fe7351c

Please sign in to comment.