From 1e4d7a7cff1dfaf2ba17f5d14629c72df5089515 Mon Sep 17 00:00:00 2001 From: Joona Aalto Date: Fri, 23 Aug 2024 17:40:46 +0300 Subject: [PATCH] Fix default schedule in `IntegratorPlugin::new` docs (#495) # Objective The docs for `IntegratorPlugin::new` mention the wrong default schedule. ## Solution Fix the docs. --- src/dynamics/integrator/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dynamics/integrator/mod.rs b/src/dynamics/integrator/mod.rs index e6a7df6c..b6ce9e82 100644 --- a/src/dynamics/integrator/mod.rs +++ b/src/dynamics/integrator/mod.rs @@ -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(),