Skip to content

Commit f7a8c14

Browse files
hymmalice-i-cecile
andcommitted
fix some doc nits
Co-authored-by: Alice Cecile <[email protected]>
1 parent 19d9e26 commit f7a8c14

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/bevy_time/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ impl Plugin for TimePlugin {
4545
}
4646
}
4747

48-
/// channel resource used to receive time from render world
48+
/// Channel resource used to receive time from render world
4949
pub struct TimeReceiver(pub Receiver<Instant>);
50-
/// channel resource used to send time from render world
50+
/// Channel resource used to send time from render world
5151
pub struct TimeSender(pub Sender<Instant>);
5252

53-
/// create channels used for sending time between render world and app world
53+
/// Creates channels used for sending time between render world and app world
5454
pub fn create_time_channels() -> (TimeSender, TimeReceiver) {
5555
// bound the channel to 2 since when pipelined the render phase can finish before
5656
// the time system runs.
@@ -59,7 +59,7 @@ pub fn create_time_channels() -> (TimeSender, TimeReceiver) {
5959
}
6060

6161
/// The system used to update the [`Time`] used by app logic. If there is a render world the time is sent from
62-
/// there to this system through channels. Otherwise the time is updated in this system.]
62+
/// there to this system through channels. Otherwise the time is updated in this system.
6363
fn time_system(
6464
mut time: ResMut<Time>,
6565
time_recv: Option<Res<TimeReceiver>>,

0 commit comments

Comments
 (0)