Skip to content

Commit 2591b64

Browse files
committed
Fix lint warnings about elided lifetimes
1 parent 50f363f commit 2591b64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extensions/change_poll.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub struct Operation {
7070
}
7171

7272
impl Operation {
73-
pub fn kind(&self) -> Result<OperationKind, Error> {
73+
pub fn kind(&self) -> Result<OperationKind<'_>, Error> {
7474
Ok(match self.kind {
7575
OperationType::Create => OperationKind::Create,
7676
OperationType::Delete => OperationKind::Delete,
@@ -140,7 +140,7 @@ pub struct CaseIdentifier {
140140
}
141141

142142
impl CaseIdentifier {
143-
pub fn kind(&self) -> Result<CaseIdentifierKind, Error> {
143+
pub fn kind(&self) -> Result<CaseIdentifierKind<'_>, Error> {
144144
Ok(match self.id_type {
145145
CaseIdentifierType::Udrp => CaseIdentifierKind::Udrp,
146146
CaseIdentifierType::Urs => CaseIdentifierKind::Urs,

0 commit comments

Comments
 (0)