Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Jul 29, 2024
1 parent e3b4ba3 commit 6f0bc53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 1 addition & 8 deletions necsim/plugins/tskit/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,7 @@ use semver::{{BuildMetadata, Prerelease}};\n"

writeln!(
file,
"#[expect(dead_code)]
/// Returns the `rustc` `SemVer` version.
pub fn version() -> Version {{
version_meta().semver
}}
#[expect(dead_code)]
/// Returns the `rustc` `SemVer` version and additional metadata
"/// Returns the `rustc` `SemVer` version and additional metadata
/// like the git short hash and build date.
pub fn version_meta() -> VersionMeta {{
VersionMeta {{
Expand Down
1 change: 1 addition & 0 deletions rustcoalescence/algorithms/cuda/gpu-kernel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ use rust_cuda::{
forbid(ptx::register_spills),
)]
#[expect(clippy::type_complexity)]
#[allow(clippy::too_many_arguments)] // FIXME: use expect
pub fn simulate<
M: MathsCore + Sync,
H: Habitat<M> + RustToCuda + Sync,
Expand Down

0 comments on commit 6f0bc53

Please sign in to comment.