Merge #9624
9624: minor: Fix `AbsPath::ends_with` r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
commit
024bda665a
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…
Add table
Add a link
Reference in a new issue