Skip to content

Commit

Permalink
Satisfy newer clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
isbm committed Apr 14, 2024
1 parent d2a6b84 commit ca52f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rfs/rfstype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct RfsType {
}

impl RfsType {
#[allow(clippy::absolute_paths)]
#[allow(clippy::join_absolute_paths)]
/// Create an instance of the RfsType
pub fn new(p: PathBuf) -> Self {
RfsType { rfs_path: p.join("/etc/os-release"), rfs_os_id: "".to_string() }.parse_osrls()
Expand Down

0 comments on commit ca52f2f

Please sign in to comment.