File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ struct DiskUsage {
23
23
///
24
24
/// This is a best effort attempt to estimate the disk usage of a snapshot and
25
25
/// validate the snapshot will fit in the configured parameters.
26
- pub ( crate ) fn check (
26
+ pub fn check (
27
27
image_path : & Path ,
28
28
memory_ranges : & [ Range < u64 > ] ,
29
29
max_disk_usage : Option < NonZeroU64 > ,
Original file line number Diff line number Diff line change 7
7
#![ deny( clippy:: panic) ]
8
8
#![ deny( clippy:: manual_assert) ]
9
9
#![ deny( clippy:: indexing_slicing) ]
10
+ #![ deny( clippy:: redundant_pub_crate) ]
10
11
#![ deny( clippy:: if_then_some_else_none) ]
11
12
#![ deny( clippy:: shadow_unrelated) ]
12
13
#![ deny( clippy:: std_instead_of_core) ]
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ impl FmtDebug for Error {
56
56
}
57
57
}
58
58
59
- pub ( crate ) type Result < T > = core:: result:: Result < T , Error > ;
59
+ pub type Result < T > = core:: result:: Result < T , Error > ;
60
60
61
61
#[ derive( Debug , Clone , ValueEnum ) ]
62
62
pub enum Source {
You can’t perform that action at this time.
0 commit comments