Skip to content

Commit 46a2a3f

Browse files
committed
chore: define explicit lifetime for Revision struct
1 parent 32df8b7 commit 46a2a3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vectorctl-migration/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub struct Revision<'a> {
2626

2727
pub trait MigrationMeta {
2828
fn name(&self) -> String;
29-
fn revision(&self) -> Revision;
29+
fn revision(&self) -> Revision<'_>;
3030
}
3131

3232
#[async_trait::async_trait]

0 commit comments

Comments
 (0)