SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

docs(bevy_ecs): clarify how to configure Res/ResMut validation error … (#24315)

# Objective

Fixes #23770

The documentation for `Res`, `ResMut`, `NonSend`, and `NonSendMut`
stated
that validation failures "can be configured to do nothing or warn once"
but never explained how to actually configure it.

## Solution

Replaced the misleading sentence with accurate information pointing
users
to `If<T>` for silently skipping the system, and clarified that
`Option<T>` is for when you want to handle the missing resource
yourself.

## Testing

No testing is required. These are documentation-only changes.
T
Tyler Russin committed
541b6a0114a51e786f8143317b7e038948c294a9
Parent: 649586a
Committed by GitHub <noreply@github.com> on 5/21/2026, 10:33:06 AM