diff --git a/jid/src/lib.rs b/jid/src/lib.rs index 1db120a..15d2222 100644 --- a/jid/src/lib.rs +++ b/jid/src/lib.rs @@ -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) } }