-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename
UnsafeWorldCell::read_change_tick
(#8588)
# Objective The method `UnsafeWorldCell::read_change_tick` is longer than it needs to be. `World` only has a method called this because it has two methods for getting a change tick: one that takes `&self` and one that takes `&mut self`. Since this distinction is not applicable to `UnsafeWorldCell`, we should just call this method `change_tick`. ## Solution Deprecate the current method and add a new one called `change_tick`. --- ## Changelog - Renamed `UnsafeWorldCell::read_change_tick` to `change_tick`. ## Migration Guide The `UnsafeWorldCell` method `read_change_tick` has been renamed to `change_tick`.
- Loading branch information
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters