Skip to content

Commit

Permalink
Fixed doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsantana committed Feb 22, 2024
1 parent 65b93ec commit 21f563e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tweenable.rs
Expand Up @@ -486,7 +486,7 @@ impl<T> Tween<T> {
/// .with_completed_event(42);
///
/// fn my_system(mut reader: EventReader<TweenCompleted>) {
/// for ev in reader.iter() {
/// for ev in reader.read() {
/// assert_eq!(ev.user_data, 42);
/// println!("Entity {:?} raised TweenCompleted!", ev.entity);
/// }
Expand Down Expand Up @@ -991,7 +991,7 @@ impl<T> Delay<T> {
/// .with_completed_event(42);
///
/// fn my_system(mut reader: EventReader<TweenCompleted>) {
/// for ev in reader.iter() {
/// for ev in reader.read() {
/// assert_eq!(ev.user_data, 42);
/// println!("Entity {:?} raised TweenCompleted!", ev.entity);
/// }
Expand Down

0 comments on commit 21f563e

Please sign in to comment.