diff --git a/git2-curl/src/lib.rs b/git2-curl/src/lib.rs index dbdbdc4a6c..99d782ec41 100644 --- a/git2-curl/src/lib.rs +++ b/git2-curl/src/lib.rs @@ -35,7 +35,7 @@ use url::Url; struct CurlTransport { handle: Arc>, - /// The URL of the remote server, e.g. "https://github.com/user/repo" + /// The URL of the remote server, e.g. `https://github.com/user/repo` /// /// This is an empty string until the first action is performed. /// If there is an HTTP redirect, this will be updated with the new URL. diff --git a/src/tree.rs b/src/tree.rs index 916cf83c5f..31170ab5e1 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -102,7 +102,7 @@ impl<'repo> Tree<'repo> { /// /// libgit2 requires that the callback be an integer, where 0 indicates a /// successful visit, 1 skips the node, and -1 aborts the traversal completely. - /// You may opt to use the enum [`TreeWalkResult`](TreeWalkResult) instead. + /// You may opt to use the enum [`TreeWalkResult`] instead. /// /// ```ignore /// let mut ct = 0;