Skip to content

Commit a306e38

Browse files
committed
Use "starts with"
1 parent 2efa0fb commit a306e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub fn draw_properties(
100100

101101
for property in properties {
102102
if let Some(filter) = filter {
103-
if !property.name.contains(filter) {
103+
if !property.name.starts_with(filter) {
104104
continue;
105105
}
106106
}

0 commit comments

Comments
 (0)