Skip to content

Commit

Permalink
iced-rs#321 cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisCode committed Apr 25, 2020
1 parent ce2ed35 commit f1e18d0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions futures/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ impl<T> Command<T> {
///
/// [`Command`]: struct.Command.html
#[cfg(target_arch = "wasm32")]
pub fn map<A>(
mut self,
f: impl Fn(T) -> A + 'static,
) -> Command<A>
pub fn map<A>(mut self, f: impl Fn(T) -> A + 'static) -> Command<A>
where
T: 'static,
{
Expand Down Expand Up @@ -151,7 +148,6 @@ where
}
}


impl<T> std::fmt::Debug for Command<T> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("Command").finish()
Expand Down

0 comments on commit f1e18d0

Please sign in to comment.