Skip to content

Commit cbdba94

Browse files
committed
Fix doc warnings in asyncgit
1 parent 9df472d commit cbdba94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

asyncgit/src/sync/remotes/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ fn get_current_branch(
132132

133133
/// Tries to find the default repo to fetch from based on configuration.
134134
///
135-
/// > branch.<name>.remote
135+
/// > `branch.<name>.remote`
136136
/// >
137137
/// > When on branch `<name>`, it tells `git fetch` and `git push` which remote to fetch from or
138138
/// > push to. [...] If no remote is configured, or if you are not on any branch and there is more
@@ -173,12 +173,12 @@ pub(crate) fn get_default_remote_for_fetch_in_repo(
173173

174174
/// Tries to find the default repo to push to based on configuration.
175175
///
176-
/// > remote.pushDefault
176+
/// > `remote.pushDefault`
177177
/// >
178178
/// > The remote to push to by default. Overrides `branch.<name>.remote` for all branches, and is
179179
/// > overridden by `branch.<name>.pushRemote` for specific branches.
180180
///
181-
/// > branch.<name>.remote
181+
/// > `branch.<name>.remote`
182182
/// >
183183
/// > When on branch `<name>`, it tells `git fetch` and `git push` which remote to fetch from or
184184
/// > push to. The remote to push to may be overridden with `remote.pushDefault` (for all

asyncgit/src/sync/sign.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ pub struct SSHSign {
281281
}
282282

283283
impl SSHSign {
284-
/// Create new [`SSHDiskKeySign`] for sign.
284+
/// Create new `SSHDiskKeySign` for sign.
285285
pub fn new(mut key: PathBuf) -> Result<Self, SignBuilderError> {
286286
key.set_extension("");
287287
if key.is_file() {

0 commit comments

Comments
 (0)