diff --git a/src/worker/builder.rs b/src/worker/builder.rs index 5f8621be..4cfad998 100644 --- a/src/worker/builder.rs +++ b/src/worker/builder.rs @@ -147,7 +147,7 @@ impl WorkerBuilder { /// /// // learn the stop reason and the number of workers that were still running /// let stop_details = jh.await.expect("joined ok").unwrap(); - /// assert_eq!(stop_details.stop_reason, StopReason::GracefulShutdown); + /// assert_eq!(stop_details.reason, StopReason::GracefulShutdown); /// let _nrunning = stop_details.nrunning; /// # }); /// ```