Fix last cargo doc warnings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
28ab91f46a
commit
9d5019ecdd
5 changed files with 10 additions and 25 deletions
|
|
@ -7,7 +7,7 @@
|
|||
//! This module implements vCard, for the purpose of vCard-based avatars as defined in
|
||||
//! [XEP-0054](https://xmpp.org/extensions/xep-0054.html).
|
||||
//!
|
||||
//! Only the <PHOTO> element is supported as a member of this legacy vCard. For more modern and complete
|
||||
//! Only the `<PHOTO>` element is supported as a member of this legacy vCard. For more modern and complete
|
||||
//! user profile management, see [XEP-0292](https://xmpp.org/extensions/xep-0292.html): vCard4 Over XMPP.
|
||||
//!
|
||||
//! For vCard updates defined in [XEP-0153](https://xmpp.org/extensions/xep-0153.html),
|
||||
|
|
@ -48,7 +48,7 @@ generate_element!(
|
|||
)
|
||||
);
|
||||
|
||||
/// A <vCard> element; only the <PHOTO> element is supported for this legacy vCard ; the rest is ignored.
|
||||
/// A `<vCard>` element; only the `<PHOTO>` element is supported for this legacy vCard ; the rest is ignored.
|
||||
pub struct VCard {
|
||||
/// A photo element.
|
||||
pub photo: Option<Photo>,
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@
|
|||
//! This module implements vCard avatar updates defined in
|
||||
//! [XEP-0153](https://xmpp.org/extensions/xep-0153.html).
|
||||
//!
|
||||
//! Specifically, as it appears in <presence> stanzas, as shown in this example:
|
||||
//! https://xmpp.org/extensions/xep-0153.html#example-3
|
||||
//! Specifically, as it appears in `<presence>` stanzas, as shown in [XEP-0153 example 3](https://xmpp.org/extensions/xep-0153.html#example-3).
|
||||
//!
|
||||
//! For [XEP-0054](https://xmpp.org/extensions/xep-0054.html) vCard support,
|
||||
//! see [`vcard`][crate::vcard] module.
|
||||
|
|
|
|||
Loading…
Reference in a new issue