Fix AbsPath::ends_with

This commit is contained in:
Laurențiu Nicola 2021-07-18 10:25:14 +03:00
parent 8da560264e
commit a9df3f858a

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