#321 cargo fmt
This commit is contained in:
parent
ce2ed35a1a
commit
f1e18d0935
@ -81,10 +81,7 @@ impl<T> Command<T> {
|
|||||||
///
|
///
|
||||||
/// [`Command`]: struct.Command.html
|
/// [`Command`]: struct.Command.html
|
||||||
#[cfg(target_arch = "wasm32")]
|
#[cfg(target_arch = "wasm32")]
|
||||||
pub fn map<A>(
|
pub fn map<A>(mut self, f: impl Fn(T) -> A + 'static) -> Command<A>
|
||||||
mut self,
|
|
||||||
f: impl Fn(T) -> A + 'static,
|
|
||||||
) -> Command<A>
|
|
||||||
where
|
where
|
||||||
T: 'static,
|
T: 'static,
|
||||||
{
|
{
|
||||||
@ -151,7 +148,6 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
impl<T> std::fmt::Debug for Command<T> {
|
impl<T> std::fmt::Debug for Command<T> {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
f.debug_struct("Command").finish()
|
f.debug_struct("Command").finish()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user