Skip to content

Commit 1e612a7

Browse files
committed
fix the odd info '1 tries remaining'
1 parent 8ddf367 commit 1e612a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/util/network/retry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl<'a> Retry<'a> {
109109
.map(|http_err| http_err.display_short())
110110
.unwrap_or_else(|| e.root_cause().to_string());
111111
let msg = format!(
112-
"spurious network error ({} tries remaining): {err_msg}",
112+
"spurious network error ({} trie{s} remaining): {err_msg}",
113113
self.max_retries - self.retries,
114114
);
115115
if let Err(e) = self.gctx.shell().warn(msg) {

0 commit comments

Comments
 (0)