Skip to content

Commit 5701e68

Browse files
authored
Fix clippy (#254)
* Fix clippy * Update rust version
1 parent c2813cd commit 5701e68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.81 AS builder
1+
FROM rust:1.85 AS builder
22
COPY ./fplus-lib /fplus-lib
33
COPY ./fplus-http-server/Cargo.toml /fplus-http-server/Cargo.toml
44
COPY ./Cargo.lock /fplus-http-server/Cargo.lock

fplus-lib/src/core/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ impl LDNApplication {
605605
path,
606606
};
607607

608-
if filter.as_ref().map_or(true, |f| &app_file.id == f) {
608+
if filter.as_ref().is_none_or(|f| &app_file.id == f) {
609609
apps.push(app_with_date);
610610
}
611611
}

0 commit comments

Comments
 (0)