From 7e8b7852e009242705982aeae97d16449a3d9947 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sat, 23 Mar 2024 12:26:51 -0700 Subject: [PATCH] chore: fmt Signed-off-by: John Nunley --- src/bounded.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bounded.rs b/src/bounded.rs index 72bcb03..dab3a29 100644 --- a/src/bounded.rs +++ b/src/bounded.rs @@ -136,15 +136,15 @@ impl Bounded { } /// Attempts to push an item into the queue, running a closure on failure. - /// + /// /// `fail` is run when there is no more room left in the tail of the queue. The parameters of /// this function are as follows: - /// + /// /// - The item that failed to push. /// - The value of `self.tail` before the new value would be inserted. /// - The value of `self.tail` after the new value would be inserted. /// - The slot that we attempted to push into. - /// + /// /// If `fail` returns `Ok(val)`, we will try pushing `val` to the head of the queue. Otherwise, /// this function will return the error. fn push_or_else(&self, mut value: T, mut fail: F) -> Result<(), PushError>