Skip to content

Commit 2d03f7e

Browse files
authored
Merge pull request #1010 from ehuss/fix-docs
Fix some rustdoc warnings
2 parents af35029 + 0885aba commit 2d03f7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

git2-curl/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use url::Url;
3535

3636
struct CurlTransport {
3737
handle: Arc<Mutex<Easy>>,
38-
/// The URL of the remote server, e.g. "https://github.com/user/repo"
38+
/// The URL of the remote server, e.g. `https://github.com/user/repo`
3939
///
4040
/// This is an empty string until the first action is performed.
4141
/// If there is an HTTP redirect, this will be updated with the new URL.

src/tree.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl<'repo> Tree<'repo> {
102102
///
103103
/// libgit2 requires that the callback be an integer, where 0 indicates a
104104
/// successful visit, 1 skips the node, and -1 aborts the traversal completely.
105-
/// You may opt to use the enum [`TreeWalkResult`](TreeWalkResult) instead.
105+
/// You may opt to use the enum [`TreeWalkResult`] instead.
106106
///
107107
/// ```ignore
108108
/// let mut ct = 0;

0 commit comments

Comments
 (0)