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

It's the same in at least Python, so it's not a Rust idiosyncratic behavior. The "absolutize" method you're asking for exists since 1.79. https://doc.rust-lang.org/stable/std/path/fn.absolute.html


Yeah, but I meant a method that would take a custom prefix, like join does now. (In the hypothetical situation where join had different semantics.)




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

Search: