📎 makes clippy happy

This commit is contained in:
Irevoire 2022-08-12 14:18:27 +02:00
parent e6b806e0cf
commit 83e20027fd
No known key found for this signature in database
GPG key ID: 7A6A970C96104F1B
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,