identifiers: Merge impl blocks
This commit is contained in:
parent
237b423996
commit
ef0e9c77c3
@ -74,9 +74,7 @@ impl UserId {
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl UserId {
|
||||
/// Returns the user's localpart.
|
||||
pub fn localpart(&self) -> &str {
|
||||
&self.full_id[1..self.colon_idx.get() as usize]
|
||||
|
Loading…
x
Reference in New Issue
Block a user