Skip to content

Commit

Permalink
why?
Browse files Browse the repository at this point in the history
I literally tick-marked reformat before commit. Does it not use rustfmt???
  • Loading branch information
ranile committed Dec 28, 2021
1 parent 7676d48 commit b7253a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/yew/src/callback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ impl<IN: 'static, OUT: 'static> Callback<IN, OUT> {
/// Changes the input type of the callback to another.
/// Works like the `map` method but in the opposite direction.
pub fn reform<F, T>(&self, func: F) -> Callback<T>
where
F: Fn(T) -> IN + 'static,
where
F: Fn(T) -> IN + 'static,
{
let this = self.clone();
let func = move |input| {
Expand Down

0 comments on commit b7253a6

Please sign in to comment.