identifiers: Rewrap doc comment

This commit is contained in:
Jonas Platte 2021-09-22 13:40:34 +02:00
parent ef0e9c77c3
commit a2254562b9
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -85,9 +85,10 @@ impl UserId {
<&ServerName>::try_from(&self.full_id[self.colon_idx.get() as usize + 1..]).unwrap() <&ServerName>::try_from(&self.full_id[self.colon_idx.get() as usize + 1..]).unwrap()
} }
/// Whether this user ID is a historical one, i.e. one that doesn't conform to the latest /// Whether this user ID is a historical one.
/// specification of the user ID grammar but is still accepted because it was previously ///
/// allowed. /// A historical user ID is one that doesn't conform to the latest specification of the user ID
/// grammar but is still accepted because it was previously allowed.
pub fn is_historical(&self) -> bool { pub fn is_historical(&self) -> bool {
self.is_historical self.is_historical
} }