Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 9692012

Browse files
committed
Final formatting and comment changes
1 parent 7c0086b commit 9692012

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/ladder_filter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl Default for LadderParameters {
5555
pole_value: AtomicFloat::new(1.),
5656
drive: AtomicFloat::new(0.),
5757
sample_rate: AtomicFloat::new(44100.),
58-
g: AtomicFloat::new(0.071_358_68),
58+
g: AtomicFloat::new(0.07135868),
5959
}
6060
}
6161
}

src/plugin.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
use std::ptr;
44
use std::sync::Arc;
5-
65
use std::os::raw::c_void;
76

87
use api;
@@ -406,7 +405,7 @@ pub enum CanDo {
406405
}
407406

408407
impl CanDo {
409-
// TODO: either rename this function or implement FromStr
408+
// TODO: implement FromStr
410409
#![allow(clippy::should_implement_trait)]
411410
/// Converts a string to a `CanDo` instance. Any given string that does not match the predefined
412411
/// values will return a `CanDo::Other` value.

0 commit comments

Comments
 (0)