Skip to content
Snippets Groups Projects
Commit 10ea123f authored by Kivimango's avatar Kivimango
Browse files

Renamed unused new() to _new()

parent 213a33bb
No related branches found
No related tags found
1 merge request!297Silence compiler warnings and clippy fixes
......@@ -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
......
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