xmpp-parsers: Fix typos noticed by codespell
This commit is contained in:
parent
6e1f24c385
commit
fa2846024f
3 changed files with 4 additions and 3 deletions
|
|
@ -132,7 +132,7 @@ impl From<BindQuery> for Element {
|
||||||
/// requests.
|
/// requests.
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct Bound {
|
pub struct Bound {
|
||||||
/// Indicates which messages got missed by this particuliar device, start is the oldest message
|
/// Indicates which messages got missed by this particular device, start is the oldest message
|
||||||
/// and end is the newest, before this connection.
|
/// and end is the newest, before this connection.
|
||||||
pub mam_metadata: Option<mam::MetadataResponse>,
|
pub mam_metadata: Option<mam::MetadataResponse>,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
//! minidom [`Element`] and returns a `Result` whose value is `Ok` if the
|
//! minidom [`Element`] and returns a `Result` whose value is `Ok` if the
|
||||||
//! element parsed correctly, `Err(error::Error)` otherwise.
|
//! element parsed correctly, `Err(error::Error)` otherwise.
|
||||||
//!
|
//!
|
||||||
//! The returned structure can be manipuled as any Rust structure, with each
|
//! The returned structure can be manipulated as any Rust structure, with each
|
||||||
//! field being public. You can also create the same structure manually, with
|
//! field being public. You can also create the same structure manually, with
|
||||||
//! some having `new()` and `with_*()` helper methods to create them.
|
//! some having `new()` and `with_*()` helper methods to create them.
|
||||||
//!
|
//!
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@ generate_element!(
|
||||||
children: [
|
children: [
|
||||||
/// The associated URL.
|
/// The associated URL.
|
||||||
url: Required<String> = ("url", OOB) => String,
|
url: Required<String> = ("url", OOB) => String,
|
||||||
/// An optionnal description of the out of band data.
|
|
||||||
|
/// An optional description of the out of band data.
|
||||||
desc: Option<String> = ("desc", OOB) => String,
|
desc: Option<String> = ("desc", OOB) => String,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue