Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
viktaur committed Feb 27, 2024
1 parent 725789a commit 8fa21a0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions dasp_signal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -965,10 +965,10 @@ pub struct NoiseSimplex<S> {
#[derive(Clone)]
pub struct OffsetPhase<S>
where
S: Signal + Step
S: Signal + Step,
{
step: S,
offset: f64
offset: f64,
}

/// An iterator that yields the sum of the frames yielded by both `other` and `self` in lock-step.
Expand Down Expand Up @@ -1455,10 +1455,7 @@ pub fn phase<S>(step: S) -> Phase<S>
where
S: Step,
{
Phase {
step,
next: 0.0,
}
Phase { step, next: 0.0 }
}

/// Creates a frame `Rate` (aka sample rate) representing the rate at which a signal may be
Expand Down

0 comments on commit 8fa21a0

Please sign in to comment.