Fix remaining uses of CaptureBy::Value
This commit is contained in:
parent
8de489918b
commit
241a654c07
5 changed files with 9 additions and 9 deletions
|
@ -673,7 +673,7 @@ impl<'a> State<'a> {
|
|||
|
||||
fn print_capture_clause(&mut self, capture_clause: ast::CaptureBy) {
|
||||
match capture_clause {
|
||||
ast::CaptureBy::Value => self.word_space("move"),
|
||||
ast::CaptureBy::Value { .. } => self.word_space("move"),
|
||||
ast::CaptureBy::Ref => {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue