Skip to content

Commit

Permalink
Update to 2021 edition (#362)
Browse files Browse the repository at this point in the history
No functional changes; this is just part of maintenance.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters authored Jun 4, 2024
1 parent a4297c7 commit 618c6ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ documentation = "https://docs.rs/tar"
license = "MIT OR Apache-2.0"
keywords = ["tar", "tarfile", "encoding"]
readme = "README.md"
edition = "2018"
edition = "2021"
exclude = ["tests/archives/*"]

description = """
Expand Down
1 change: 0 additions & 1 deletion src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,6 @@ impl<'a> EntryFields<'a> {
uid: u64,
gid: u64,
) -> io::Result<()> {
use std::convert::TryInto;
use std::os::unix::prelude::*;

let uid: libc::uid_t = uid.try_into().map_err(|_| {
Expand Down

0 comments on commit 618c6ab

Please sign in to comment.