Fix typos across the codebase (thanks codespell!)
This commit is contained in:
parent
ccd46047be
commit
002c2803d4
9 changed files with 9 additions and 9 deletions
|
|
@ -125,7 +125,7 @@ impl Field {
|
|||
/// [XEP-0068](https://xmpp.org/extensions/xep-0068.html).
|
||||
///
|
||||
/// This function requires knowledge of the form's type attribute as the
|
||||
/// criteria differ slighly among form types.
|
||||
/// criteria differ slightly among form types.
|
||||
pub fn is_form_type(&self, ty: &DataFormType) -> bool {
|
||||
// 1. A field must have the var FORM_TYPE
|
||||
if self.var != "FORM_TYPE" {
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ pub mod carbons;
|
|||
/// XEP-0293: Jingle RTP Feedback Negotiation
|
||||
pub mod jingle_rtcp_fb;
|
||||
|
||||
/// XEP-0294: Jingle RTP Header Extensions Negociation
|
||||
/// XEP-0294: Jingle RTP Header Extensions Negotiation
|
||||
pub mod jingle_rtp_hdrext;
|
||||
|
||||
/// XEP-0297: Stanza Forwarding
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ impl Message {
|
|||
///
|
||||
/// Returns the first matching payload element as parsed struct or its
|
||||
/// parse error. If no element matches, `Ok(None)` is returned. If an
|
||||
/// element matches, but fails to parse, it is nontheless removed from
|
||||
/// element matches, but fails to parse, it is nonetheless removed from
|
||||
/// the message.
|
||||
///
|
||||
/// Elements which do not match the given type are not removed.
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ pub const CARBONS: &str = "urn:xmpp:carbons:2";
|
|||
/// XEP-0293: Jingle RTP Feedback Negotiation
|
||||
pub const JINGLE_RTCP_FB: &str = "urn:xmpp:jingle:apps:rtp:rtcp-fb:0";
|
||||
|
||||
/// XEP-0294: Jingle RTP Header Extensions Negociation
|
||||
/// XEP-0294: Jingle RTP Header Extensions Negotiation
|
||||
pub const JINGLE_RTP_HDREXT: &str = "urn:xmpp:jingle:apps:rtp:rtp-hdrext:0";
|
||||
|
||||
/// XEP-0297: Stanza Forwarding
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@ pub enum PubSub {
|
|||
configure: Option<Configure>,
|
||||
},
|
||||
|
||||
/// A subcribe request.
|
||||
/// A subscribe request.
|
||||
Subscribe {
|
||||
/// The subscribe request.
|
||||
subscribe: Option<Subscribe>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue