Skip to content

Commit 4cbab5d

Browse files
fix(deps): update dependency rust to v1.75.0 (#167)
* fix(deps): update dependency rust to v1.75.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 4ac7933 commit 4cbab5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "1.74.1"
2+
channel = "1.75.0"
33
components = [
44
"rustfmt",
55
"rust-src",

spis-server/src/media/images/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ fn exif_get_str(exif: &exif::Exif, tag: Tag) -> Result<&str> {
8585
match exif.get_field(tag, In::PRIMARY) {
8686
Some(field) => match &field.value {
8787
Value::Ascii(bytes) => {
88-
let bytes = bytes.get(0).ok_or(eyre!("Something is wrong"))?;
88+
let bytes = bytes.first().ok_or(eyre!("Something is wrong"))?;
8989
Ok(std::str::from_utf8(bytes)?)
9090
}
9191
_ => Err(eyre!("Not Ascii value")),

0 commit comments

Comments
 (0)