Skip to content

Commit d64407d

Browse files
committed
refactor(widget): Improve wording of ApiVersion docs
1 parent fba7324 commit d64407d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/matrix-sdk/src/widget/machine/from_widget.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@ pub(super) enum ApiVersion {
145145
#[serde(rename = "0.0.2")]
146146
V0_0_2,
147147

148-
/// Supports sending and receiving of events.
148+
/// Supports sending and receiving events.
149149
#[serde(rename = "org.matrix.msc2762")]
150150
MSC2762,
151151

152-
/// Supports receiving of room state with the `update_state` action.
152+
/// Supports receiving room state with the `update_state` action.
153153
#[serde(rename = "org.matrix.msc2762_update_state")]
154154
MSC2762UpdateState,
155155

156-
/// Supports sending of approved capabilities back to the widget.
156+
/// Supports sending approved capabilities back to the widget.
157157
#[serde(rename = "org.matrix.msc2871")]
158158
MSC2871,
159159

@@ -169,7 +169,7 @@ pub(super) enum ApiVersion {
169169
#[serde(rename = "org.matrix.msc2876")]
170170
MSC2876,
171171

172-
/// Supports sending and receiving of to-device events.
172+
/// Supports sending and receiving to-device events.
173173
#[serde(rename = "org.matrix.msc3819")]
174174
MSC3819,
175175

0 commit comments

Comments
 (0)