Skip to content

Commit 613c121

Browse files
committed
Fixup method doc that mentions removed param
1 parent c5351ad commit 613c121

File tree

1 file changed

+2
-4
lines changed
  • compiler/rustc_mir_build/src/build/expr

1 file changed

+2
-4
lines changed

compiler/rustc_mir_build/src/build/expr/stmt.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ use rustc_middle::thir::*;
66

77
impl<'a, 'tcx> Builder<'a, 'tcx> {
88
/// Builds a block of MIR statements to evaluate the THIR `expr`.
9-
/// If the original expression was an AST statement,
10-
/// (e.g., `some().code(&here());`) then `opt_stmt_span` is the
11-
/// span of that statement (including its semicolon, if any).
12-
/// The scope is used if a statement temporary must be dropped.
9+
///
10+
/// The `statement_scope` is used if a statement temporary must be dropped.
1311
pub(crate) fn stmt_expr(
1412
&mut self,
1513
mut block: BasicBlock,

0 commit comments

Comments
 (0)