Skip to content

Commit e176917

Browse files
committed
Use Self type.
1 parent 226933f commit e176917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/cargo_clean.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ fn escape_glob_path(pattern: &Path) -> CargoResult<String> {
262262
}
263263

264264
impl<'cfg> CleanContext<'cfg> {
265-
pub fn new(config: &'cfg Config) -> CleanContext<'cfg> {
265+
pub fn new(config: &'cfg Config) -> Self {
266266
// This progress bar will get replaced, this is just here to avoid needing
267267
// an Option until the actual bar is created.
268268
let progress = CleaningFolderBar::new(config, 0);

0 commit comments

Comments
 (0)