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