Skip to content

Commit 5a89942

Browse files
chore: formatted
1 parent d43febd commit 5a89942

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/src/pathutils.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ impl Paths {
183183
.split_whitespace() // Split at whitespaces to later replace all whitespaces with `-`
184184
.map(|part| {
185185
part.chars()
186-
.filter(|&character| character.is_alphanumeric() || character == '-' || character == '_') // Remove any character that is not a `-` or alphanumeric
186+
.filter(|&character| {
187+
character.is_alphanumeric() || character == '-' || character == '_'
188+
}) // Remove any character that is not a `-` or alphanumeric
187189
.collect::<String>()
188190
})
189191
.collect::<Vec<String>>()

0 commit comments

Comments
 (0)