Skip to content

Commit 024bda6

Browse files
bors[bot]lnicola
andauthored
Merge #9624
9624: minor: Fix `AbsPath::ends_with` r=lnicola a=lnicola bors r+ Co-authored-by: Laurențiu Nicola <[email protected]>
2 parents 8da5602 + a9df3f8 commit 024bda6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/paths/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl AbsPath {
187187
self.0.starts_with(&base.0)
188188
}
189189
pub fn ends_with(&self, suffix: &RelPath) -> bool {
190-
self.0.starts_with(&suffix.0)
190+
self.0.ends_with(&suffix.0)
191191
}
192192

193193
// region:delegate-methods

0 commit comments

Comments
 (0)