Update doc comment for CodegenBackend::link

This commit is contained in:
bjorn3 2023-11-05 12:29:15 +00:00
parent ba82056a14
commit ec29a02071

View File

@ -104,11 +104,7 @@ pub trait CodegenBackend {
outputs: &OutputFilenames, outputs: &OutputFilenames,
) -> Result<(CodegenResults, FxIndexMap<WorkProductId, WorkProduct>), ErrorGuaranteed>; ) -> Result<(CodegenResults, FxIndexMap<WorkProductId, WorkProduct>), ErrorGuaranteed>;
/// This is called on the returned `Box<dyn Any>` from `join_codegen` /// This is called on the returned `CodegenResults` from `join_codegen`
///
/// # Panics
///
/// Panics when the passed `Box<dyn Any>` was not returned by `join_codegen`.
fn link( fn link(
&self, &self,
sess: &Session, sess: &Session,