From c7038ace1a1a77e209b48fd955be0c79c8cd01a8 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 8 Sep 2019 18:24:45 +0200 Subject: [PATCH] jingle, pubsub: Fix spelling thanks to codespell! --- src/jingle.rs | 2 +- src/pubsub/pubsub.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jingle.rs b/src/jingle.rs index 4a8e5ac..7e27ebb 100644 --- a/src/jingle.rs +++ b/src/jingle.rs @@ -445,7 +445,7 @@ pub struct Jingle { /// Unique session identifier between two entities. pub sid: SessionId, - /// A list of contents to be negociated in this session. + /// A list of contents to be negotiated in this session. pub contents: Vec, /// An optional reason. diff --git a/src/pubsub/pubsub.rs b/src/pubsub/pubsub.rs index 727ef2b..875c198 100644 --- a/src/pubsub/pubsub.rs +++ b/src/pubsub/pubsub.rs @@ -46,7 +46,7 @@ generate_attribute!( /// You are a publisher on this node, you can publish and retract items to it. Publisher => "publisher", - /// You can publish and retract items on this node, but not subscribe or retrive items. + /// You can publish and retract items on this node, but not subscribe or retrieve items. PublishOnly => "publish-only", } ); @@ -85,7 +85,7 @@ generate_element!( /// Request for a default node configuration. Default, "default", PUBSUB, attributes: [ - /// The node targetted by this request, otherwise the entire service. + /// The node targeted by this request, otherwise the entire service. node: Option = "node", // TODO: do we really want to support collection nodes?