Skip to content

Commit

Permalink
Fix a couple of lint errors, remove deprecated deny() lints
Browse files Browse the repository at this point in the history
  • Loading branch information
harababurel committed Jun 10, 2024
1 parent 63608f4 commit 1715e42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
16 changes: 8 additions & 8 deletions src/gcsf/file_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ impl FileManager {
size: 512,
blocks: 1,
blksize: 512,
atime: std::time::SystemTime::UNIX_EPOCH,
mtime: std::time::SystemTime::UNIX_EPOCH,
ctime: std::time::SystemTime::UNIX_EPOCH,
crtime: std::time::SystemTime::UNIX_EPOCH,
atime: SystemTime::UNIX_EPOCH,
mtime: SystemTime::UNIX_EPOCH,
ctime: SystemTime::UNIX_EPOCH,
crtime: SystemTime::UNIX_EPOCH,
kind: FileType::Directory,
perm: 0o755,
nlink: 2,
Expand All @@ -272,10 +272,10 @@ impl FileManager {
size: 512,
blocks: 1,
blksize: 512,
atime: std::time::SystemTime::UNIX_EPOCH,
mtime: std::time::SystemTime::UNIX_EPOCH,
ctime: std::time::SystemTime::UNIX_EPOCH,
crtime: std::time::SystemTime::UNIX_EPOCH,
atime: SystemTime::UNIX_EPOCH,
mtime: SystemTime::UNIX_EPOCH,
ctime: SystemTime::UNIX_EPOCH,
crtime: SystemTime::UNIX_EPOCH,
kind: FileType::Directory,
perm: 0o755,
nlink: 2,
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
forgetting_copy_types,
forgetting_references,
function_item_references,
illegal_floating_point_literal_pattern,
improper_ctypes,
improper_ctypes_definitions,
incomplete_features,
Expand All @@ -53,18 +52,15 @@
non_shorthand_field_patterns,
non_snake_case,
non_upper_case_globals,
nontrivial_structural_match,
opaque_hidden_inferred_bound,
overlapping_range_endpoints,
path_statements,
private_in_public,
redundant_semicolons,
renamed_and_removed_lints,
repr_transparent_external_private_fields,
semicolon_in_expressions_from_macros,
special_module_name,
stable_features,
suspicious_auto_trait_impls,
suspicious_double_ref_op,
temporary_cstring_as_ptr,
trivial_bounds,
Expand Down

0 comments on commit 1715e42

Please sign in to comment.