mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Format
This commit is contained in:
parent
4a922a176f
commit
ec815fa368
@ -534,7 +534,8 @@ impl fmt::Display for deserr_codes::InvalidSimilarId {
|
|||||||
f,
|
f,
|
||||||
"the value of `id` is invalid. \
|
"the value of `id` is invalid. \
|
||||||
A document identifier can be of type integer or string, \
|
A document identifier can be of type integer or string, \
|
||||||
only composed of alphanumeric characters (a-z A-Z 0-9), hyphens (-) and underscores (_), and can not be more than 512 bytes."
|
only composed of alphanumeric characters (a-z A-Z 0-9), hyphens (-) and underscores (_), \
|
||||||
|
and can not be more than 512 bytes."
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,8 @@ impl fmt::Display for IndexUidFormatError {
|
|||||||
f,
|
f,
|
||||||
"`{}` is not a valid index uid. Index uid can be an \
|
"`{}` is not a valid index uid. Index uid can be an \
|
||||||
integer or a string containing only alphanumeric \
|
integer or a string containing only alphanumeric \
|
||||||
characters, hyphens (-) and underscores (_), and can not be more than 512 bytes.",
|
characters, hyphens (-) and underscores (_), \
|
||||||
|
and can not be more than 512 bytes.",
|
||||||
self.invalid_uid,
|
self.invalid_uid,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user