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> {
272272}
273273
274274impl RequestContent < ' _ > {
275+ #[ allow( clippy:: wrong_self_convention) ]
275276 pub fn from_device ( & self ) -> & DeviceId {
276277 match self {
277278 Self :: ToDevice ( t) => & t. from_device ,
@@ -294,6 +295,7 @@ pub enum ReadyContent<'a> {
294295}
295296
296297impl ReadyContent < ' _ > {
298+ #[ allow( clippy:: wrong_self_convention) ]
297299 pub fn from_device ( & self ) -> & DeviceId {
298300 match self {
299301 Self :: ToDevice ( t) => & t. from_device ,
@@ -422,6 +424,7 @@ pub enum StartContent<'a> {
422424}
423425
424426impl < ' a > StartContent < ' a > {
427+ #[ allow( clippy:: wrong_self_convention) ]
425428 pub fn from_device ( & self ) -> & DeviceId {
426429 match self {
427430 Self :: ToDevice ( c) => & c. from_device ,
You can’t perform that action at this time.
0 commit comments