From 10ea123fd66c3a6ac8b7b0f95c45a608d03e3aca Mon Sep 17 00:00:00 2001 From: kivimango <balazsviktor23@gmail.com> Date: Wed, 16 Aug 2023 12:15:48 +0200 Subject: [PATCH] Renamed unused new() to _new() --- src/progress_bar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/progress_bar.rs b/src/progress_bar.rs index 597fb9552..75eceb475 100644 --- a/src/progress_bar.rs +++ b/src/progress_bar.rs @@ -30,7 +30,7 @@ pub struct ProgressBarWrite<'p, 'w, P: Write + 'p, W: Write + 'w> { } impl<'p, 'w, P: Write, W: Write> ProgressBarWrite<'p, 'w, P, W> { - pub fn new(pb: &'p mut ProgressBar<P>, w: &'w mut W) -> ProgressBarWrite<'p, 'w, P, W> { + pub fn _new(pb: &'p mut ProgressBar<P>, w: &'w mut W) -> ProgressBarWrite<'p, 'w, P, W> { ProgressBarWrite { pb, w -- GitLab