lanzatool: remove unused utils module
This commit is contained in:
parent
b762de9fec
commit
f07618b64c
|
@ -4,7 +4,6 @@ mod generation;
|
|||
mod install;
|
||||
mod pe;
|
||||
mod signature;
|
||||
mod utils;
|
||||
|
||||
use anyhow::Result;
|
||||
use clap::Parser;
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
use std::path::Path;
|
||||
|
||||
// All Linux file paths should be convertable to strings
|
||||
pub fn path_to_string(path: impl AsRef<Path>) -> String {
|
||||
String::from(path.as_ref().to_str().unwrap_or_else(|| {
|
||||
panic!(
|
||||
"Failed to convert path '{}' to a string",
|
||||
path.as_ref().display()
|
||||
)
|
||||
}))
|
||||
}
|
Loading…
Reference in New Issue