Skip to content

Commit 2cb9fac

Browse files
committed
explicit link to core::os::darwin::objc from std::os::darwin::objc
1 parent b09dd05 commit 2cb9fac

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

library/std/src/os/darwin/objc.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
//! Defines types and macros for Objective-C interoperability.
22
//!
33
//! This module re-exports all the items in [`core::os::darwin::objc`].
4+
//!
5+
//! [`core::os::darwin::objc`]: ../../../../core/os/darwin/objc/index.html "mod core::os::darwin::objc"
46
57
#![unstable(feature = "darwin_objc", issue = "145496")]
68

7-
// We can't document this automatically since we generate documentation for this module
8-
// on every platform but `core::os::darwin` isn't available on every platform.
9-
// We just mention it in the module documentation above instead.
9+
// We can't generate an intra-doc link for this automatically since `core::os::darwin` isn't
10+
// compiled into `core` on every platform even though it's documented on every platform.
11+
// We just link to it directly in the module documentation above instead.
1012
#[cfg(not(doc))]
1113
pub use core::os::darwin::objc::*;

0 commit comments

Comments
 (0)