diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-12-22 09:54:23 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-12-22 09:54:23 -0500 |
| commit | 9cd992f394de0ba9d7990c0159bea8855329e6b0 (patch) | |
| tree | 09b81352131b4715691e7371b4a9d29ca06aeb87 /compiler/rustc_interface/src/interface.rs | |
| parent | 50a90975c0f78219db45d3bee0676a22695ec103 (diff) | |
| download | rust-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.rs | 3 |
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>>, |
