Skip to content

Conversation

@softmoth
Copy link

Fixes:

warning: the method `dispatch` doesn't need a mutable reference
  --> src/main.rs:70:25
   |
70 |     dispatcher.dispatch(&mut world);
   |                         ^^^^^^^^^^

Checklist

  • I've added tests for all code changes and additions (where applicable)
  • I've added a demonstration of the new feature to one or more examples
  • I've updated the book to reflect my changes
  • Usage of new public items is shown in the API docs

API changes

Fixes:
```
warning: the method `dispatch` doesn't need a mutable reference
  --> src/main.rs:70:25
   |
70 |     dispatcher.dispatch(&mut world);
   |                         ^^^^^^^^^^
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant