xmpp-parsers: Fix typos noticed by codespell

Emmanuel Gil Peyrot created

Change summary

parsers/src/bind2.rs | 2 +-
parsers/src/lib.rs   | 2 +-
parsers/src/oob.rs   | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)

Detailed changes

parsers/src/bind2.rs 🔗

@@ -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>,
 

parsers/src/lib.rs 🔗

@@ -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.
 //!

parsers/src/oob.rs 🔗

@@ -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,
     ]
 );