parsers: correct cargo doc warnings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
200147b551
commit
afcf9fb2d0
13 changed files with 36 additions and 34 deletions
|
|
@ -78,7 +78,7 @@ Status, "status", MUC_USER, "code", {
|
|||
ServiceErrorKick => 333,
|
||||
});
|
||||
|
||||
/// Optional <actor/> element used in <item/> elements inside presence stanzas of type
|
||||
/// Optional \<actor/\> element used in \<item/\> elements inside presence stanzas of type
|
||||
/// "unavailable" that are sent to users who are kick or banned, as well as within IQs for tracking
|
||||
/// purposes. -- CHANGELOG 0.17 (2002-10-23)
|
||||
///
|
||||
|
|
@ -227,8 +227,8 @@ impl Item {
|
|||
}
|
||||
|
||||
/// Set a jid for this Item
|
||||
pub fn with_jid<J: Into<FullJid>>(mut self, jid: J) -> Item {
|
||||
self.jid = Some(jid.into());
|
||||
pub fn with_jid(mut self, jid: FullJid) -> Item {
|
||||
self.jid = Some(jid);
|
||||
self
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue