mitigate additional debuginfo expansions
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
6c7845c8af
commit
de6d961535
8 changed files with 13 additions and 6 deletions
|
@ -117,7 +117,7 @@ pub fn name_from_path(path: &Path) -> Result<String> {
|
|||
|
||||
/// Get the (major, minor) of the block device on which Path is mounted.
|
||||
#[allow(clippy::useless_conversion, clippy::unnecessary_fallible_conversions)]
|
||||
pub fn dev_from_path(path: &Path) -> Result<(dev_t, dev_t)> {
|
||||
fn dev_from_path(path: &Path) -> Result<(dev_t, dev_t)> {
|
||||
#[cfg(target_family = "unix")]
|
||||
use std::os::unix::fs::MetadataExt;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue