Skip to content

Commit 656bab3

Browse files
committed
Fix broken rustdoc links
1 parent f4f70e3 commit 656bab3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/dist/dist.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ static TOOLCHAIN_CHANNELS: &[&str] = &[
4343
];
4444

4545
/// Returns a error message indicating that certain [`Component`]s are missing in a toolchain distribution.
46+
///
4647
/// This message is currently used exclusively in toolchain-wide operations,
47-
/// otherwise [`component_unavailable_msg`](`crate::errors::component_unavailable_msg`) will be used.
48+
/// otherwise [`component_unavailable_msg`](../../errors/fn.component_unavailable_msg.html) will be used.
4849
///
4950
/// # Panics
5051
/// This function will panic when the collection of unavailable components `cs` is empty.

src/errors.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ fn suggest_message(suggestion: &Option<String>) -> String {
141141

142142
/// Returns a error message indicating that certain [`Component`]s are unavailable.
143143
///
144+
/// See also [`component_missing_msg`](../dist/dist/fn.components_missing_msg.html)
145+
/// which generates error messages for component unavailability toolchain-wide operations.
146+
///
144147
/// # Panics
145148
/// This function will panic when the collection of unavailable components `cs` is empty.
146149
fn component_unavailable_msg(cs: &[Component], manifest: &Manifest, toolchain: &str) -> String {

0 commit comments

Comments
 (0)