mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-07 13:25:45 +00:00
update comment (codegen_backend -> codegen_crate)
use intra-doc links so there'll be a doc gen fail next time this becomes wrong
This commit is contained in:
parent
6b6a867ae9
commit
52684a4c52
@ -71,11 +71,11 @@ pub trait CodegenBackend {
|
||||
need_metadata_module: bool,
|
||||
) -> Box<dyn Any>;
|
||||
|
||||
/// This is called on the returned `Box<dyn Any>` from `codegen_backend`
|
||||
/// This is called on the returned `Box<dyn Any>` from [`codegen_crate`](Self::codegen_crate)
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics when the passed `Box<dyn Any>` was not returned by `codegen_backend`.
|
||||
/// Panics when the passed `Box<dyn Any>` was not returned by [`codegen_crate`](Self::codegen_crate).
|
||||
fn join_codegen(
|
||||
&self,
|
||||
ongoing_codegen: Box<dyn Any>,
|
||||
|
Loading…
Reference in New Issue
Block a user