We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d43febd commit 5a89942Copy full SHA for 5a89942
backend/src/pathutils.rs
@@ -183,7 +183,9 @@ impl Paths {
183
.split_whitespace() // Split at whitespaces to later replace all whitespaces with `-`
184
.map(|part| {
185
part.chars()
186
- .filter(|&character| character.is_alphanumeric() || character == '-' || character == '_') // Remove any character that is not a `-` or alphanumeric
+ .filter(|&character| {
187
+ character.is_alphanumeric() || character == '-' || character == '_'
188
+ }) // Remove any character that is not a `-` or alphanumeric
189
.collect::<String>()
190
})
191
.collect::<Vec<String>>()
0 commit comments