Skip to content

Commit 6ccb268

Browse files
authored
Fix incorrect documentation link in DetectChangesMut (#9431)
# Objective - Fix a trivial incorrect documentation link in `DetectChangesMut`.
1 parent d60b715 commit 6ccb268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/change_detection.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub trait DetectChanges {
7171
/// Using types that implement [`DetectChangesMut`], such as [`ResMut`], provide
7272
/// a way to query if a value has been mutated in another system.
7373
/// Normally change detection is triggered by either [`DerefMut`] or [`AsMut`], however
74-
/// it can be manually triggered via [`set_if_neq`](`DetectChangesMut::set_changed`).
74+
/// it can be manually triggered via [`set_changed`](DetectChangesMut::set_changed).
7575
///
7676
/// To ensure that changes are only triggered when the value actually differs,
7777
/// check if the value would change before assignment, such as by checking that `new != old`.

0 commit comments

Comments
 (0)