jid: fix incorrect type on Jid::Full

This does not matter much because users need to replace usages of these
anyway, but it's better to have it right here to not cause additional
confusion.
This commit is contained in:
Jonas Schäfer 2024-04-16 18:19:47 +02:00
parent 054447d147
commit 1293e9a3eb

View file

@ -410,7 +410,7 @@ impl Jid {
since = "0.11.0",
note = "use Jid::from (for construction of Jid values) or Jid::try_into_full/Jid::try_as_full (for match blocks) instead"
)]
pub fn Full(other: BareJid) -> Self {
pub fn Full(other: FullJid) -> Self {
Self::from(other)
}
}