Implement as_str on all Jid types

This is useful for printing with quotes without copying any data.
This commit is contained in:
Jonas Schäfer 2024-03-09 09:00:36 +01:00
commit 2c701038cd
3 changed files with 23 additions and 0 deletions

View file

@ -20,6 +20,7 @@ Version xxx, release xxx:
`impl From<DomainPart> for BareJid` and
`impl From<DomainPart> for Jid`, both of which are (unlike
`::from_parts`) copy-free.
- `as_str` methods have been added on all Jid types.
Version 0.10.0, release 2023-08-17:
* Breaking