From 38681b13d8ad1cbd056c07336772bcaabf920ba8 Mon Sep 17 00:00:00 2001 From: Redddy Date: Tue, 22 Apr 2025 10:37:34 +0900 Subject: [PATCH 1/2] fix: add a backtick --- src/repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repo.rs b/src/repo.rs index 464530332e..eaabbbf89b 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -2137,7 +2137,7 @@ impl Repository { /// /// For compatibility with git, the repository is put into a merging state. /// Once the commit is done (or if the user wishes to abort), you should - /// clear this state by calling cleanup_state(). + /// clear this state by calling `cleanup_state()`. pub fn merge( &self, annotated_commits: &[&AnnotatedCommit<'_>], From ba5e1b33483755df7962f5c5771295d12cc6db15 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 22 Apr 2025 06:43:01 -0700 Subject: [PATCH 2/2] Make link an intra-doc link --- src/repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repo.rs b/src/repo.rs index eaabbbf89b..061078d670 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -2137,7 +2137,7 @@ impl Repository { /// /// For compatibility with git, the repository is put into a merging state. /// Once the commit is done (or if the user wishes to abort), you should - /// clear this state by calling `cleanup_state()`. + /// clear this state by calling [`cleanup_state()`][Repository::cleanup_state]. pub fn merge( &self, annotated_commits: &[&AnnotatedCommit<'_>],