Skip to content

Commit df950c4

Browse files
fix(deps): update dependency rust to v1.89.0 (#459)
* fix(deps): update dependency rust to v1.89.0 * fix: linting --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Guðmundur Björn Birkisson <[email protected]>
1 parent 55cd193 commit df950c4

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "1.88.0"
2+
channel = "1.89.0"
33
components = ["rustfmt", "rust-src", "rust-std", "clippy"]
44
targets = [
55
"x86_64-unknown-linux-gnu",

src/pipeline.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,8 @@ pub fn setup_filewalker(
168168
sleep(tokio::time::Duration::from_secs(10)).await;
169169

170170
tracing::debug!("Update missing field in DB");
171-
if db_mark_missing {
172-
if let Err(error) = db::media_mark_missing(&pool).await {
173-
tracing::error!("Failed marking media as walked: {:?}", error);
174-
}
171+
if db_mark_missing && let Err(error) = db::media_mark_missing(&pool).await {
172+
tracing::error!("Failed marking media as walked: {:?}", error);
175173
}
176174

177175
// Print counts

src/server/assets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
static ASSETS: include_dir::Dir<'_> = include_dir::include_dir!("$CARGO_MANIFEST_DIR/assets");
22

3-
fn find_files(name: &str) -> Vec<&include_dir::File> {
3+
fn find_files(name: &str) -> Vec<&include_dir::File<'_>> {
44
ASSETS
55
.find(name)
66
.unwrap_or_else(|_| panic!("Could not find {name}"))

0 commit comments

Comments
 (0)