Skip to content

Commit

Permalink
fix: for lint complaining
Browse files Browse the repository at this point in the history
  • Loading branch information
FoodChain1028 committed Feb 4, 2024
1 parent aa8cd40 commit 52b9e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mopro-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ pub fn run_msm_benchmark(num_msm: Option<u32>) -> Result<BenchmarkResult, MoproE
}

#[cfg(not(feature = "gpu-benchmarks"))]
pub fn run_msm_benchmark(num_msm: Option<u32>) -> Result<BenchmarkResult, MoproError> {
pub fn run_msm_benchmark(_num_msm: Option<u32>) -> Result<BenchmarkResult, MoproError> {
println!("gpu-benchmarks feature not enabled!");
panic!("gpu-benchmarks feature not enabled!");
}
Expand Down

0 comments on commit 52b9e64

Please sign in to comment.