Skip to content

Commit

Permalink
Merge pull request #1010 from ehuss/fix-docs
Browse files Browse the repository at this point in the history
Fix some rustdoc warnings
  • Loading branch information
ehuss committed Jan 11, 2024
2 parents af35029 + 0885aba commit 2d03f7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git2-curl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use url::Url;

struct CurlTransport {
handle: Arc<Mutex<Easy>>,
/// 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.
Expand Down
2 changes: 1 addition & 1 deletion src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2d03f7e

Please sign in to comment.