Skip to content

Commit

Permalink
Merge pull request #7 from Centril/patch-1
Browse files Browse the repository at this point in the history
Use `Anim(..)` instead of `Self(...)`
  • Loading branch information
leod authored Feb 24, 2020
2 parents 5658e0d + f358080 commit 431f49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ where

/// Converts from `Anim<F>` to `Anim<&F>`.
pub fn as_ref(&self) -> Anim<&F> {
Self(&self.0)
Anim(&self.0)
}

pub fn map_anim<W, G, A>(self, anim: A) -> Anim<impl Fun<T = F::T, V = W>>
Expand Down

0 comments on commit 431f49d

Please # to comment.