Skip to content

Commit 3d5fb21

Browse files
authored
Fix syntax of example git fetch
1 parent 0731960 commit 3d5fb21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/remote.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ impl<'repo> Remote<'repo> {
290290
///
291291
/// # Examples
292292
///
293-
/// Example of functionality similar to `git fetch origin/main`:
293+
/// Example of functionality similar to `git fetch origin main`:
294294
///
295295
/// ```no_run
296296
/// fn fetch_origin_main(repo: git2::Repository) -> Result<(), git2::Error> {

0 commit comments

Comments
 (0)