From 89a00315c1eb29068564147a2ae96f6d96b50b2d Mon Sep 17 00:00:00 2001 From: maneatingape <44142177+maneatingape@users.noreply.github.com> Date: Fri, 27 Dec 2024 17:54:30 +0000 Subject: [PATCH] Just shortcuts --- justfile | 6 ++++++ src/util/md5.rs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 00000000..3af21be1 --- /dev/null +++ b/justfile @@ -0,0 +1,6 @@ +lint: + cargo fmt -- **/*.rs + cargo clippy --all-targets --all-features + +docs: + cargo doc --document-private-items --open diff --git a/src/util/md5.rs b/src/util/md5.rs index d1cf6f41..e0013668 100644 --- a/src/util/md5.rs +++ b/src/util/md5.rs @@ -151,7 +151,7 @@ fn common(f: u32, a: u32, b: u32, m: u32, s: u32, k: u32) -> u32 { #[cfg(feature = "simd")] pub mod simd { use std::array; - use std::simd::num::SimdUint; + use std::simd::num::SimdUint as _; use std::simd::{LaneCount, Simd, SupportedLaneCount}; #[inline]