Fix all typos using the typos tool
See https://github.com/crate-ci/typos
This commit is contained in:
parent
b014316206
commit
5ed958582b
13 changed files with 20 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ pub enum Nonza {
|
|||
#[xml(transparent)]
|
||||
Resume(Resume),
|
||||
|
||||
/// Sucessful SM resumption response
|
||||
/// Successful SM resumption response
|
||||
#[xml(transparent)]
|
||||
Resumed(Resumed),
|
||||
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
|
|
|||
|
|
@ -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() {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue