๐Ÿ“Ž makes clippy happy

This commit is contained in:
Irevoire
2022-08-12 14:18:27 +02:00
parent e6b806e0cf
commit 83e20027fd
9 changed files with 15 additions and 13 deletions

View File

@ -5,7 +5,7 @@ use std::str::FromStr;
/// An index uid is composed of only ascii alphanumeric characters, - and _, between 1 and 400
/// bytes long
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "test-traits", derive(proptest_derive::Arbitrary))]
pub struct IndexUid(
#[cfg_attr(feature = "test-traits", proptest(regex("[a-zA-Z0-9_-]{1,400}")))] String,