Skip to content

Commit

Permalink
Fix default schedule in IntegratorPlugin::new docs (#495)
Browse files Browse the repository at this point in the history
# Objective

The docs for `IntegratorPlugin::new` mention the wrong default schedule.

## Solution

Fix the docs.
  • Loading branch information
Jondolf authored Aug 23, 2024
1 parent 56d7c59 commit 1e4d7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamics/integrator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub struct IntegratorPlugin {
impl IntegratorPlugin {
/// Creates a [`IntegratorPlugin`] with the schedule that is used for running the [`PhysicsSchedule`].
///
/// The default schedule is `PostUpdate`.
/// The default schedule is [`SubstepSchedule`].
pub fn new(schedule: impl ScheduleLabel) -> Self {
Self {
schedule: schedule.intern(),
Expand Down

0 comments on commit 1e4d7a7

Please sign in to comment.