remove identical conversion

master
rasul 5 years ago
parent 6c65f4cbe3
commit abd87d6eea

@ -14,7 +14,7 @@ pub struct Apps {
impl Apps {
pub fn load(p: PathBuf) -> Result<Self> {
let path: String = String::from(p.display().to_string());
let path: String = p.display().to_string();
match File::open(p) {
Ok(mut file) => {
let mut buf = String::new();

Loading…
Cancel
Save