about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-12-22 09:54:23 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-12-22 09:54:23 -0500
commit9cd992f394de0ba9d7990c0159bea8855329e6b0 (patch)
tree09b81352131b4715691e7371b4a9d29ca06aeb87 /compiler/rustc_interface/src/interface.rs
parent50a90975c0f78219db45d3bee0676a22695ec103 (diff)
downloadrust-9cd992f394de0ba9d7990c0159bea8855329e6b0.tar.gz
rust-9cd992f394de0ba9d7990c0159bea8855329e6b0.zip
Add some intra-doc links to compiler docs
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
-rw-r--r--compiler/rustc_interface/src/interface.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs
index acd49d86c2c..28eb1fed6a0 100644
--- a/compiler/rustc_interface/src/interface.rs
+++ b/compiler/rustc_interface/src/interface.rs
@@ -25,8 +25,9 @@ use std::sync::{Arc, Mutex};
 pub type Result<T> = result::Result<T, ErrorReported>;
 
 /// Represents a compiler session.
+///
 /// Can be used to run `rustc_interface` queries.
-/// Created by passing `Config` to `run_compiler`.
+/// Created by passing [`Config`] to [`run_compiler`].
 pub struct Compiler {
     pub(crate) sess: Lrc<Session>,
     codegen_backend: Lrc<Box<dyn CodegenBackend>>,