Fix all typos using the typos tool

See https://github.com/crate-ci/typos
This commit is contained in:
Link Mauve 2025-11-22 21:28:34 +01:00
commit 5ed958582b
13 changed files with 20 additions and 20 deletions

View file

@ -111,7 +111,7 @@ Version 0.22.0:
- Verifying HTTP Requests via XMPP (XEP-0070)
* Improvements:
- Add support for undocumented `<optional/> in XEP-0198 feature
advertisment, for compatibility with servers in the wild.
advertisement, for compatibility with servers in the wild.
- Add support application-specific error conditions in XEP-0198
- Keep unsupported vCard elements as `minidom::Element`, so that they
get serialized back instead of being dropped. We now also test for

View file

@ -25,7 +25,7 @@ pub struct IqHeader {
/// The sender JID.
pub from: Option<Jid>,
/// The reciepient JID.
/// The recipient JID.
pub to: Option<Jid>,
/// The stanza's ID.

View file

@ -188,7 +188,7 @@ pub enum Nonza {
#[xml(transparent)]
Resume(Resume),
/// Sucessful SM resumption response
/// Successful SM resumption response
#[xml(transparent)]
Resumed(Resumed),

View file

@ -19,7 +19,7 @@ pub struct Limits {
#[xml(child(default))]
pub max_bytes: Option<MaxBytes>,
/// Number of seconds without any traffic from the iniating entity after which the server may
/// Number of seconds without any traffic from the initiating entity after which the server may
/// consider the stream idle, and either perform liveness checks or terminate the stream.
// TODO: Replace that with a direct u32 once xso supports that.
#[xml(child(default))]
@ -36,7 +36,7 @@ pub struct MaxBytes {
pub value: NonZeroU32,
}
/// Number of seconds without any traffic from the iniating entity after which the server may
/// Number of seconds without any traffic from the initiating entity after which the server may
/// consider the stream idle, and either perform liveness checks or terminate the stream.
#[derive(FromXml, AsXml, Debug, Clone, PartialEq)]
#[xml(namespace = ns::STREAM_LIMITS, name = "idle-seconds")]

View file

@ -40,7 +40,7 @@ use self::helpers::{parse_str, roundtrip_full};
use xso::exports::rxml;
use xso::{AsXml, FromXml, PrintRawXml};
// these are adverserial local names in order to trigger any issues with
// these are adversarial local names in order to trigger any issues with
// unqualified names in the macro expansions.
#[allow(dead_code, non_snake_case)]
fn Err() {}