mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Apply requested changes round 2
This commit is contained in:
parent
23a5f31ff4
commit
cf97aac994
11 changed files with 1160 additions and 1270 deletions
|
@ -150,7 +150,7 @@ impl AbsPathBuf {
|
|||
/// * if `self` has a verbatim prefix (e.g. `\\?\C:\windows`)
|
||||
/// and `path` is not empty, the new path is normalized: all references
|
||||
/// to `.` and `..` are removed.
|
||||
pub fn push(&mut self, suffix: &str) {
|
||||
pub fn push<P: AsRef<Utf8Path>>(&mut self, suffix: P) {
|
||||
self.0.push(suffix)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue