Skip to content

Commit 3ee6682

Browse files
authored
Fix link in new debug_str doc comment (#1625)
1 parent fe05362 commit 3ee6682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,14 +1187,14 @@ impl Build {
11871187
/// Configures whether the compiler will emit debug information when
11881188
/// generating object files.
11891189
///
1190-
/// This should be one of the values accepted by Cargo's [`debug`][]
1190+
/// This should be one of the values accepted by Cargo's [`debug`][1]
11911191
/// profile setting, which cc-rs will try to map to the appropriate C
11921192
/// compiler flag.
11931193
///
11941194
/// This option is automatically scraped from the `DEBUG` environment
11951195
/// variable by build scripts, so it's not required to call this function.
11961196
///
1197-
/// [debuginfo]: https://doc.rust-lang.org/cargo/reference/profiles.html#debug
1197+
/// [1]: https://doc.rust-lang.org/cargo/reference/profiles.html#debug
11981198
pub fn debug_str(&mut self, debug: &str) -> &mut Build {
11991199
self.debug = Some(debug.into());
12001200
self

0 commit comments

Comments
 (0)