Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That would be:

    let path = Path::new(&app_path);
    println!("file name: {}", path.display());


No, I just want the file name.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: