Fixup method doc that mentions removed param
This commit is contained in:
parent
c5351ad4dc
commit
613c1216b7
@ -6,10 +6,8 @@ use rustc_middle::thir::*;
|
|||||||
|
|
||||||
impl<'a, 'tcx> Builder<'a, 'tcx> {
|
impl<'a, 'tcx> Builder<'a, 'tcx> {
|
||||||
/// Builds a block of MIR statements to evaluate the THIR `expr`.
|
/// Builds a block of MIR statements to evaluate the THIR `expr`.
|
||||||
/// If the original expression was an AST statement,
|
///
|
||||||
/// (e.g., `some().code(&here());`) then `opt_stmt_span` is the
|
/// The `statement_scope` is used if a statement temporary must be dropped.
|
||||||
/// span of that statement (including its semicolon, if any).
|
|
||||||
/// The scope is used if a statement temporary must be dropped.
|
|
||||||
pub(crate) fn stmt_expr(
|
pub(crate) fn stmt_expr(
|
||||||
&mut self,
|
&mut self,
|
||||||
mut block: BasicBlock,
|
mut block: BasicBlock,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user