diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:57:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:57:31 +0000 |
commit | dc0db358abe19481e475e10c32149b53370f1a1c (patch) | |
tree | ab8ce99c4b255ce46f99ef402c27916055b899ee /vendor/gix/src/reference | |
parent | Releasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff) | |
download | rustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip |
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/gix/src/reference')
-rw-r--r-- | vendor/gix/src/reference/edits.rs | 2 | ||||
-rw-r--r-- | vendor/gix/src/reference/errors.rs | 14 | ||||
-rw-r--r-- | vendor/gix/src/reference/remote.rs | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/vendor/gix/src/reference/edits.rs b/vendor/gix/src/reference/edits.rs index aadd087ba..c6510c2e0 100644 --- a/vendor/gix/src/reference/edits.rs +++ b/vendor/gix/src/reference/edits.rs @@ -25,7 +25,7 @@ pub mod set_target_id { /// Note that the operation will fail on symbolic references, to change their type use the lower level reference database, /// or if the reference was deleted or changed in the mean time. /// Furthermore, refrain from using this method for more than a one-off change as it creates a transaction for each invocation. - /// If multiple reference should be changed, use [Repository::edit_references()][crate::Repository::edit_references()] + /// If multiple reference should be changed, use [`Repository::edit_references()`][crate::Repository::edit_references()] /// or the lower level reference database instead. #[allow(clippy::result_large_err)] pub fn set_target_id( diff --git a/vendor/gix/src/reference/errors.rs b/vendor/gix/src/reference/errors.rs index 364456fd1..a931b3974 100644 --- a/vendor/gix/src/reference/errors.rs +++ b/vendor/gix/src/reference/errors.rs @@ -2,7 +2,7 @@ pub mod edit { use crate::config; - /// The error returned by [edit_references(…)][crate::Repository::edit_references()], and others + /// The error returned by [`edit_references(…)`][crate::Repository::edit_references()], and others /// which ultimately create a reference. #[derive(Debug, thiserror::Error)] #[allow(missing_docs)] @@ -22,8 +22,8 @@ pub mod edit { /// pub mod peel { - /// The error returned by [Reference::peel_to_id_in_place(…)][crate::Reference::peel_to_id_in_place()] and - /// [Reference::into_fully_peeled_id(…)][crate::Reference::into_fully_peeled_id()]. + /// The error returned by [`Reference::peel_to_id_in_place(…)`][crate::Reference::peel_to_id_in_place()] and + /// [`Reference::into_fully_peeled_id(…)`][crate::Reference::into_fully_peeled_id()]. #[derive(Debug, thiserror::Error)] #[allow(missing_docs)] pub enum Error { @@ -36,7 +36,7 @@ pub mod peel { /// pub mod head_id { - /// The error returned by [Repository::head_id(…)][crate::Repository::head_id()]. + /// The error returned by [`Repository::head_id(…)`][crate::Repository::head_id()]. #[derive(Debug, thiserror::Error)] #[allow(missing_docs)] pub enum Error { @@ -51,7 +51,7 @@ pub mod head_id { /// pub mod head_commit { - /// The error returned by [Repository::head_commit(…)][crate::Repository::head_commit()]. + /// The error returned by [`Repository::head_commit`(…)][crate::Repository::head_commit()]. #[derive(Debug, thiserror::Error)] #[allow(missing_docs)] pub enum Error { @@ -66,7 +66,7 @@ pub mod head_commit { pub mod find { /// pub mod existing { - /// The error returned by [find_reference(…)][crate::Repository::find_reference()], and others. + /// The error returned by [`find_reference(…)`][crate::Repository::find_reference()], and others. #[derive(Debug, thiserror::Error)] #[allow(missing_docs)] pub enum Error { @@ -77,7 +77,7 @@ pub mod find { } } - /// The error returned by [try_find_reference(…)][crate::Repository::try_find_reference()]. + /// The error returned by [`try_find_reference(…)`][crate::Repository::try_find_reference()]. #[derive(Debug, thiserror::Error)] #[allow(missing_docs)] pub enum Error { diff --git a/vendor/gix/src/reference/remote.rs b/vendor/gix/src/reference/remote.rs index dd96892e2..d0c566302 100644 --- a/vendor/gix/src/reference/remote.rs +++ b/vendor/gix/src/reference/remote.rs @@ -4,7 +4,7 @@ use crate::{config, config::tree::Branch, remote, Reference}; impl<'repo> Reference<'repo> { /// Find the unvalidated name of our remote for `direction` as configured in `branch.<name>.remote|pushRemote` respectively. /// If `Some(<name>)` it can be used in [`Repository::find_remote(…)`][crate::Repository::find_remote()], or if `None` then - /// [Repository::remote_default_name()][crate::Repository::remote_default_name()] could be used in its place. + /// [`Repository::remote_default_name()`][crate::Repository::remote_default_name()] could be used in its place. /// /// Return `None` if no remote is configured. /// |