From f8af44bc52e88637c3ccfd954752a7f88219e76f Mon Sep 17 00:00:00 2001 From: Andreas Hartmann Date: Tue, 20 Feb 2024 07:53:39 +0100 Subject: [PATCH] lib: Fix broken link to `Cross.toml`. --- src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 8a331a76f..7d413ca71 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -899,7 +899,7 @@ macro_rules! commit_info { }; } -/// Obtains the [`CrossToml`] from one of the possible locations +/// Obtains the [`CrossToml`][1] from one of the possible locations /// /// These locations are checked in the following order: /// 1. If the `CROSS_CONFIG` variable is set, it tries to read the config from its value @@ -908,6 +908,8 @@ macro_rules! commit_info { /// /// The values from `CROSS_CONFIG` or `Cross.toml` are concatenated with the /// metadata in `Cargo.toml`, with `Cross.toml` having the highest priority. +/// +/// [1]: https://github.com/har7an/cross/blob/docs/restructure-docs-folder/docs/config_file.md pub fn toml(metadata: &CargoMetadata, msg_info: &mut MessageInfo) -> Result { let root = &metadata.workspace_root; let cross_config_path = match env::var("CROSS_CONFIG") {