Path::join does the right thing if its argument is absolute.
Details
Details
- Reviewers
Alphare pulkit - Group Reviewers
hg-reviewers - Commits
- rHG39128182f04e: rust: Remove unnecessary check for absolute path before joining
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
rust/hg-core/src/config/layer.rs | ||
---|---|---|
100 | I think we should always try to use expect instead of unwrap unless it's *really* repetitive or obvious, just as a best practice. |
I think we should always try to use expect instead of unwrap unless it's *really* repetitive or obvious, just as a best practice.