File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ impl Plugin for TimePlugin {
45
45
}
46
46
}
47
47
48
- /// channel resource used to receive time from render world
48
+ /// Channel resource used to receive time from render world
49
49
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
51
51
pub struct TimeSender ( pub Sender < Instant > ) ;
52
52
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
54
54
pub fn create_time_channels ( ) -> ( TimeSender , TimeReceiver ) {
55
55
// bound the channel to 2 since when pipelined the render phase can finish before
56
56
// the time system runs.
@@ -59,7 +59,7 @@ pub fn create_time_channels() -> (TimeSender, TimeReceiver) {
59
59
}
60
60
61
61
/// 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.
63
63
fn time_system (
64
64
mut time : ResMut < Time > ,
65
65
time_recv : Option < Res < TimeReceiver > > ,
You can’t perform that action at this time.
0 commit comments