Skip to content

Commit f1e18d0

Browse files
committed
iced-rs#321 cargo fmt
1 parent ce2ed35 commit f1e18d0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

futures/src/command.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ impl<T> Command<T> {
8181
///
8282
/// [`Command`]: struct.Command.html
8383
#[cfg(target_arch = "wasm32")]
84-
pub fn map<A>(
85-
mut self,
86-
f: impl Fn(T) -> A + 'static,
87-
) -> Command<A>
84+
pub fn map<A>(mut self, f: impl Fn(T) -> A + 'static) -> Command<A>
8885
where
8986
T: 'static,
9087
{
@@ -151,7 +148,6 @@ where
151148
}
152149
}
153150

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

0 commit comments

Comments
 (0)