Skip to content

Commit fe03e47

Browse files
authored
Fix documentation for bevy_reflect::Set::remove (#22696)
# Objective fix #22694 ## Solution update the documentation `true` if the set have this value, `false` if not
1 parent f0dbe20 commit fe03e47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_reflect/src/set.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ pub trait Set: PartialReflect {
9393

9494
/// Removes a value from the set.
9595
///
96-
/// If the set did not have this value present, `true` is returned.
97-
/// If the set did have this value present, `false` is returned.
96+
/// If the set did have this value present, `true` is returned.
97+
/// If the set did not have this value present, `false` is returned.
9898
fn remove(&mut self, value: &dyn PartialReflect) -> bool;
9999

100100
/// Checks if the given value is contained in the set

0 commit comments

Comments
 (0)