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:
Monadic Cat 2024-11-27 18:26:08 -06:00
parent 6b6a867ae9
commit 52684a4c52
No known key found for this signature in database
GPG Key ID: B132A0F6BFA553CB

View File

@ -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>,