Skip to content

Commit

Permalink
Fixed lint issues (#259)
Browse files Browse the repository at this point in the history
* Fixed lint issues

* fixed for stable
  • Loading branch information
CraZySacX authored Oct 22, 2023
1 parent 14f78fe commit d4babaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions vergen/src/feature/si.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ impl EmitBuilder {
idempotent,
system
.cpus()
.get(0)
.first()
.map(|proc| proc.vendor_id().to_string()),
map,
warnings,
Expand Down Expand Up @@ -422,7 +422,7 @@ impl EmitBuilder {
idempotent,
system
.cpus()
.get(0)
.first()
.map(|processor| processor.brand().to_string()),
map,
warnings,
Expand All @@ -447,7 +447,7 @@ impl EmitBuilder {
idempotent,
system
.cpus()
.get(0)
.first()
.map(|proc| proc.frequency().to_string()),
map,
warnings,
Expand Down
2 changes: 1 addition & 1 deletion vergen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
)]
// clippy lints
#![cfg_attr(msrv, deny(clippy::all, clippy::pedantic))]
// #![cfg_attr(msrv, allow())]
#![cfg_attr(all(msrv, nightly), allow(clippy::struct_field_names))]
// rustdoc lints
#![cfg_attr(
msrv,
Expand Down

0 comments on commit d4babaa

Please sign in to comment.