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

Commit 055604e

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

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

examples/ladder_filter.rs

+1-1
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

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
//! Plugin specific structures.
22
3+
use std::os::raw::c_void;
34
use std::ptr;
45
use std::sync::Arc;
56

6-
use std::os::raw::c_void;
7-
87
use api;
98
use api::consts::VST_MAGIC;
109
use api::{AEffect, HostCallbackProc, Supported, TimeInfo};
@@ -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)