Commit 81ebbc8e authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

RetryTime: make loose_cmp pub.

parent 160cb916
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ impl RetryTime {
    /// time when multiple attempts have failed.
    ///
    /// If you need an absolute comparison operator, convert to [`AbsRetryTime`] first.
    fn loose_cmp(&self, other: &Self) -> Ordering {
    pub fn loose_cmp(&self, other: &Self) -> Ordering {
        use RetryTime as RT;

        match (self, other) {