xmpp-rs/jid/src
Emmanuel Gil Peyrot b4b0a7dbba jid: Simplify from_parts() a bit
By defining the variables in the parent scope, we can avoid one level of
indentation for the tuple, which makes things more readable.

Additionally, we don’t need to call .to_str() on the passed objects,
they automatically Deref to &str for the format!() call.
2024-07-15 18:27:35 +02:00
..
error.rs jid: Make the crate no_std 2024-05-04 10:28:25 +00:00
lib.rs jid: Simplify from_parts() a bit 2024-07-15 18:27:35 +02:00
parts.rs