From cac26750a10a6f03481ed05b2f13249e9082af99 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Mar 2026 18:46:38 +0000 Subject: [PATCH 1/2] build(deps): bump rust-toolchain from 1.87.0 to 1.94.0 Bumps [rust-toolchain](https://github.com/rust-lang/rust) from 1.87.0 to 1.94.0. - [Release notes](https://github.com/rust-lang/rust/releases) - [Changelog](https://github.com/rust-lang/rust/blob/main/RELEASES.md) - [Commits](https://github.com/rust-lang/rust/compare/1.87.0...1.94.0) --- updated-dependencies: - dependency-name: rust-toolchain dependency-version: 1.94.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5675074..0d8ed42 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.87.0" +channel = "1.94.0" components = ["rustfmt", "clippy"] From 61b1403748b238359afcd946820ad1c607f768fa Mon Sep 17 00:00:00 2001 From: Eric Eldredge Date: Mon, 9 Mar 2026 17:35:12 -0400 Subject: [PATCH 2/2] style: fix mixing of implicit and explicit lifetimes in function signature --- git-workon-fixture/src/fixture.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-workon-fixture/src/fixture.rs b/git-workon-fixture/src/fixture.rs index 28f60f8..6e46584 100644 --- a/git-workon-fixture/src/fixture.rs +++ b/git-workon-fixture/src/fixture.rs @@ -2,7 +2,7 @@ use std::path::{Path, PathBuf}; use assert_fs::fixture::ChildPath; use assert_fs::TempDir; -use git2::{Oid, Repository}; +use git2::{Oid, Reference, Repository}; use predicates::Predicate; use crate::assert::{FixtureAssert, IntoFixturePredicate}; @@ -92,7 +92,7 @@ impl Fixture { self.repo.as_ref().ok_or_else(|| "No repository".into()) } - pub fn head(&self) -> Result { + pub fn head<'a>(&'a self) -> Result> { let repo = self.repo()?; Ok(repo.head()?) }