From 3d5fb21508dfdc58a3e8175bb47160d56bd71d0f Mon Sep 17 00:00:00 2001 From: Ewan Breakey Date: Sat, 3 Feb 2024 17:34:03 +1100 Subject: [PATCH] Fix syntax of example `git fetch` --- src/remote.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote.rs b/src/remote.rs index c8f5a935a6..807c108e1d 100644 --- a/src/remote.rs +++ b/src/remote.rs @@ -290,7 +290,7 @@ impl<'repo> Remote<'repo> { /// /// # Examples /// - /// Example of functionality similar to `git fetch origin/main`: + /// Example of functionality similar to `git fetch origin main`: /// /// ```no_run /// fn fetch_origin_main(repo: git2::Repository) -> Result<(), git2::Error> {