Local variable rename
This commit is contained in:
parent
b6d985859c
commit
18bc9594a4
1 changed files with 4 additions and 4 deletions
|
@ -319,11 +319,11 @@ pub fn populate(db: &DB) -> Result<()> {
|
|||
album_art_pattern = Regex::new(&settings.index_album_art_pattern)?;
|
||||
}
|
||||
|
||||
let mut builder = IndexUpdater::new(db.clone(), album_art_pattern)?;
|
||||
let mut updater = IndexUpdater::new(db.clone(), album_art_pattern)?;
|
||||
for target in mount_points.values() {
|
||||
builder.populate_directory(None, target.as_path())?;
|
||||
updater.populate_directory(None, target.as_path())?;
|
||||
}
|
||||
builder.flush_songs()?;
|
||||
builder.flush_directories()?;
|
||||
updater.flush_songs()?;
|
||||
updater.flush_directories()?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue