Skip to content

Commit ba0a014

Browse files
authored
EasyFunction -> EaseFunction (#2096)
1 parent 4610261 commit ba0a014

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
`EasingFunction::Steps` now has a second parameter, `JumpAt`, which can customize jumping behavior. `JumpAt`'s default is `JumpAt::End`, which indicates that the last steps happens when the animation ends.
1+
`EaseFunction::Steps` now has a second parameter, `JumpAt`, which can customize jumping behavior. `JumpAt`'s default is `JumpAt::End`, which indicates that the last steps happens when the animation ends.
22

33
```rust
44
// 0.15
5-
let ease_function = EasyFunction::Steps(10);
5+
let ease_function = EaseFunction::Steps(10);
66

77
// 0.16
8-
let ease_function = EasyFunction::Steps(10, JumpAt::default());
8+
let ease_function = EaseFunction::Steps(10, JumpAt::default());
99
```

0 commit comments

Comments
 (0)