Fix outdated comment referencing CoreSet (#10294)

# Objective

Fix a comment that is referencing `CoreSet::UpdateFlush` which no longer
exists.

## Solution

Delete some words. Write some new words.
This commit is contained in:
Rob Parrett 2023-10-27 20:18:27 -07:00 committed by GitHub
parent b208388af9
commit 7ca0a307f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,9 +2,9 @@
//! to flush commands added by systems that have already run,
//! but have not had their buffers applied yet.
//!
//! This is useful when you don't want to wait until the next flush set
//! automatically added by Bevy (usually `CoreSet::UpdateFlush`, for systems
//! added to `CoreSet::Update`) but want to flush commands immediately.
//! This is useful when you don't want to wait until the next time Bevy
//! automatically flushes commands (by default, after all systems have run in any
//! particular schedule) but want to flush commands immediately.
//!
//! It is important that systems are ordered correctly with respect to
//! `apply_deferred`, to avoid surprising non-deterministic system execution order.