mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
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:
parent
054447d147
commit
1293e9a3eb
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ impl Jid {
|
||||||
since = "0.11.0",
|
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"
|
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)
|
Self::from(other)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue