File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
crates/matrix-sdk-crypto/src/verification Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ pub enum RequestContent<'a> {
272
272
}
273
273
274
274
impl RequestContent < ' _ > {
275
+ #[ allow( clippy:: wrong_self_convention) ]
275
276
pub fn from_device ( & self ) -> & DeviceId {
276
277
match self {
277
278
Self :: ToDevice ( t) => & t. from_device ,
@@ -294,6 +295,7 @@ pub enum ReadyContent<'a> {
294
295
}
295
296
296
297
impl ReadyContent < ' _ > {
298
+ #[ allow( clippy:: wrong_self_convention) ]
297
299
pub fn from_device ( & self ) -> & DeviceId {
298
300
match self {
299
301
Self :: ToDevice ( t) => & t. from_device ,
@@ -422,6 +424,7 @@ pub enum StartContent<'a> {
422
424
}
423
425
424
426
impl < ' a > StartContent < ' a > {
427
+ #[ allow( clippy:: wrong_self_convention) ]
425
428
pub fn from_device ( & self ) -> & DeviceId {
426
429
match self {
427
430
Self :: ToDevice ( c) => & c. from_device ,
You can’t perform that action at this time.
0 commit comments