Skip to content
Snippets Groups Projects
Commit 81ebbc8e authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

RetryTime: make loose_cmp pub.

parent 160cb916
No related branches found
No related tags found
1 merge request!443Improved handling for retriable errors in circmgr
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment