Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some rustdoc warnings #1010

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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