Skip to content

Commit 2698dae

Browse files
committed
fix docs
1 parent 6ad4946 commit 2698dae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

git-packetline/src/immutable/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl<'a> PacketLine<'a> {
3131
///
3232
/// This works for any data received in an error [channel][crate::Channel].
3333
///
34-
/// Note that this creates an unchecked error using the slice verbatim, which is useful to [serialize it][Error::to_write()].
34+
/// Note that this creates an unchecked error using the slice verbatim, which is useful to [serialize it][Error::write_to()].
3535
/// See [`check_error()`][PacketLine::check_error()] for a version that assures the error information is in the expected format.
3636
pub fn as_error(&self) -> Option<Error<'_>> {
3737
self.as_slice().map(Error)

src/plumbing/pretty/options.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub enum Subcommands {
9494

9595
/// The URLs or path from which to receive the pack.
9696
///
97-
/// See here for a list of supported URLs: https://www.git-scm.com/docs/git-clone#_git_urls
97+
/// See here for a list of supported URLs: <https://www.git-scm.com/docs/git-clone#_git_urls>
9898
url: String,
9999

100100
/// The directory into which to write the received pack and index.
@@ -105,7 +105,7 @@ pub enum Subcommands {
105105
/// List remote references from a remote identified by a url.
106106
///
107107
/// This is the plumbing equivalent of `git ls-remote`.
108-
/// Supported URLs are documented here: https://www.git-scm.com/docs/git-clone#_git_urls
108+
/// Supported URLs are documented here: <https://www.git-scm.com/docs/git-clone#_git_urls>
109109
#[clap(setting = AppSettings::ColoredHelp)]
110110
#[clap(setting = AppSettings::DisableVersion)]
111111
#[cfg(any(feature = "gitoxide-core-async-client", feature = "gitoxide-core-blocking-client"))]
@@ -116,7 +116,7 @@ pub enum Subcommands {
116116

117117
/// the URLs or path from which to receive references
118118
///
119-
/// See here for a list of supported URLs: https://www.git-scm.com/docs/git-clone#_git_urls
119+
/// See here for a list of supported URLs: <https://www.git-scm.com/docs/git-clone#_git_urls>
120120
url: String,
121121
},
122122
#[clap(setting = AppSettings::ColoredHelp)]

0 commit comments

Comments
 (0)