Skip to content

Commit 5063297

Browse files
committed
Add doc comment for rustc_middle::mir::mono::Linkage
1 parent 99cb9cc commit 5063297

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc_middle/mir/mono.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ pub struct CodegenUnit<'tcx> {
239239
size_estimate: Option<usize>,
240240
}
241241

242+
/// Specifies the linkage type for a `MonoItem`.
243+
///
244+
/// See https://llvm.org/docs/LangRef.html#linkage-types for more details about these variants.
242245
#[derive(Copy, Clone, PartialEq, Debug, RustcEncodable, RustcDecodable, HashStable)]
243246
pub enum Linkage {
244247
External,

0 commit comments

Comments
 (0)