Fix remaining uses of CaptureBy::Value
This commit is contained in:
@@ -2017,7 +2017,7 @@ impl<'a> State<'a> {
|
||||
|
||||
fn print_capture_clause(&mut self, capture_clause: hir::CaptureBy) {
|
||||
match capture_clause {
|
||||
hir::CaptureBy::Value => self.word_space("move"),
|
||||
hir::CaptureBy::Value { .. } => self.word_space("move"),
|
||||
hir::CaptureBy::Ref => {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user