From f9562b5c8c42ce535f276f1f1ff5e6a0312ba7fc Mon Sep 17 00:00:00 2001 From: Antoine Gersant Date: Sat, 1 Jul 2017 12:05:13 -0700 Subject: [PATCH] Cosmetic change --- src/index.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.rs b/src/index.rs index 64898ff..e9a5837 100644 --- a/src/index.rs +++ b/src/index.rs @@ -82,14 +82,14 @@ struct NewDirectory { date_added: i32, } -struct IndexBuilder<'db> { +struct IndexBuilder<'conn> { new_songs: Vec, new_directories: Vec, - connection: &'db Mutex, + connection: &'conn Mutex, album_art_pattern: Regex, } -impl<'db> IndexBuilder<'db> { +impl<'conn> IndexBuilder<'conn> { fn new(connection: &Mutex, album_art_pattern: Regex) -> Result { let mut new_songs = Vec::new(); let mut new_directories = Vec::new();