xmpp-parsers: Fix typos noticed by codespell

This commit is contained in:
Emmanuel Gil Peyrot 2024-07-24 22:38:58 +02:00 committed by Jonas Schäfer
parent 6e1f24c385
commit fa2846024f
3 changed files with 4 additions and 3 deletions

View file

@ -132,7 +132,7 @@ impl From<BindQuery> for Element {
/// requests.
#[derive(Debug, Clone, PartialEq)]
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.
pub mam_metadata: Option<mam::MetadataResponse>,

View file

@ -4,7 +4,7 @@
//! minidom [`Element`] and returns a `Result` whose value is `Ok` if the
//! 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
//! some having `new()` and `with_*()` helper methods to create them.
//!

View file

@ -12,7 +12,8 @@ generate_element!(
children: [
/// The associated URL.
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,
]
);