mirror of
https://github.com/ostreedev/ostree.git
synced 2026-02-05 09:44:55 +01:00
rust: Fix Rust 1.89 lifetime lint
This commit is contained in:
@@ -132,7 +132,7 @@ impl Repo {
|
||||
pub fn auto_transaction<P: IsA<gio::Cancellable>>(
|
||||
&self,
|
||||
cancellable: Option<&P>,
|
||||
) -> Result<TransactionGuard, glib::Error> {
|
||||
) -> Result<TransactionGuard<'_>, glib::Error> {
|
||||
let _ = self.prepare_transaction(cancellable)?;
|
||||
Ok(TransactionGuard { repo: Some(self) })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user