identifiers-validation: Fix docs

This commit is contained in:
Jonas Platte 2020-09-21 21:57:42 +02:00
parent d36d005b97
commit 85e3df7c76
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -15,9 +15,9 @@ pub enum Error {
InvalidLocalPart,
/// The server name part of the the ID string is not a valid server name.
InvalidServerName,
/// The ID exceeds 255 bytes (or 32 codepoints for a room version ID.)
/// The ID exceeds 255 bytes (or 32 codepoints for a room version ID).
MaximumLengthExceeded,
/// The ID is less than 4 characters (or is an empty room version ID.)
/// The ID is less than 4 characters (or is an empty room version ID).
MinimumLengthNotSatisfied,
/// The ID is missing the colon delimiter between localpart and server name.
MissingDelimiter,