Skip to content

Commit

Permalink
StopDetails::stop_reason -> StopDetails::reason
Browse files Browse the repository at this point in the history
  • Loading branch information
rustworthy committed Jul 19, 2024
1 parent e6f07ce commit e0cb357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl<E: 'static> WorkerBuilder<E> {
///
/// // 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;
/// # });
/// ```
Expand Down

0 comments on commit e0cb357

Please sign in to comment.