mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
Fix AbsPath::ends_with
This commit is contained in:
parent
8da560264e
commit
a9df3f858a
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ impl AbsPath {
|
|||
self.0.starts_with(&base.0)
|
||||
}
|
||||
pub fn ends_with(&self, suffix: &RelPath) -> bool {
|
||||
self.0.starts_with(&suffix.0)
|
||||
self.0.ends_with(&suffix.0)
|
||||
}
|
||||
|
||||
// region:delegate-methods
|
||||
|
|
Loading…
Reference in a new issue