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:
bors[bot] 2021-07-18 07:26:05 +00:00 committed by GitHub
commit 024bda665a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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