From db4004972d6f0fc60b0cd74c2e08723ef91a0ed4 Mon Sep 17 00:00:00 2001 From: "Jeremy L. Morris" Date: Mon, 5 Feb 2024 21:30:54 +0000 Subject: [PATCH] docs: update occurrences of ExponentialBackfff to ExponentialBackoff --- src/exponential.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exponential.rs b/src/exponential.rs index abaa28d..054dcf6 100644 --- a/src/exponential.rs +++ b/src/exponential.rs @@ -25,7 +25,7 @@ pub struct ExponentialBackoff { /// The system time. It is calculated when an [`ExponentialBackoff`](struct.ExponentialBackoff.html) instance is /// created and is reset when [`retry`](../trait.Operation.html#method.retry) is called. pub start_time: Instant, - /// The maximum elapsed time after instantiating [`ExponentialBackfff`](struct.ExponentialBackoff.html) or calling + /// The maximum elapsed time after instantiating [`ExponentialBackoff`](struct.ExponentialBackoff.html) or calling /// [`reset`](trait.Backoff.html#method.reset) after which [`next_backoff`](../trait.Backoff.html#method.reset) returns `None`. pub max_elapsed_time: Option, /// The clock used to get the current time. @@ -208,7 +208,7 @@ where self } - /// The maximum elapsed time after instantiating [`ExponentialBackfff`](struct.ExponentialBackoff.html) or calling + /// The maximum elapsed time after instantiating [`ExponentialBackoff`](struct.ExponentialBackoff.html) or calling /// [`reset`](trait.Backoff.html#method.reset) after which [`next_backoff`](../trait.Backoff.html#method.reset) returns `None`. pub fn with_max_elapsed_time(&mut self, max_elapsed_time: Option) -> &mut Self { self.max_elapsed_time = max_elapsed_time;