Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
thoren-d committed Aug 14, 2021
1 parent e0128a9 commit 19ac60a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/drivers/sdl2_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,7 @@ impl Sdl2Input {
/// # }
/// ```
pub fn new(subsystem: &sdl2::AudioSubsystem) -> Result<Self, Error> {
Sdl2Input::with_format(
subsystem,
AudioFormat::default(),
)
Sdl2Input::with_format(subsystem, AudioFormat::default())
}

/// Construct a new `Sdl2Input` with the specified format.
Expand Down
5 changes: 1 addition & 4 deletions src/drivers/sdl2_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ impl Sdl2Output {
/// # }
/// ```
pub fn new(subsystem: &sdl2::AudioSubsystem) -> Result<Self, Error> {
Sdl2Output::with_format(
subsystem,
AudioFormat::default(),
)
Sdl2Output::with_format(subsystem, AudioFormat::default())
}

/// Construct a new `Sdl2Output` with the specified format.
Expand Down

0 comments on commit 19ac60a

Please sign in to comment.