docs: Fix incorrect docs in the run conditions example (#14377)

## Objective

Make the docs say the right thing.

## Solution

Edit the docs so they say the right thing.

Seems like overtime the example has changed but the comment did not
change with it. It originally was a AND but is now an OR.
This commit is contained in:
Liam Gallagher 2024-07-21 04:51:05 +12:00 committed by GitHub
parent 3aa525885b
commit 11ecc4d322
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,8 +25,7 @@ fn main() {
.run_if(resource_exists::<Unused>.or(
// This is a custom run condition, defined using a system that returns
// a `bool` and which has read-only `SystemParam`s.
// Both run conditions must return `true` in order for the system to run.
// Note that this second run condition will be evaluated even if the first returns `false`.
// Only a single run condition must return `true` in order for the system to run.
has_user_input,
)),
print_input_counter