We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfaf988 commit 34294e0Copy full SHA for 34294e0
src/models/keyword.rs
@@ -56,7 +56,7 @@ impl Keyword {
56
Some(c) => c,
57
};
58
first.is_ascii_alphanumeric()
59
- && chars.all(|c| c.is_ascii_alphanumeric() || c == '_' || c == '-')
+ && chars.all(|c| c.is_ascii_alphanumeric() || c == '_' || c == '-' || c == '+')
60
}
61
62
pub fn update_crate(conn: &PgConnection, krate: &Crate, keywords: &[&str]) -> QueryResult<()> {
0 commit comments