1
Fork 0

Fix remaining uses of CaptureBy::Value

This commit is contained in:
Dinu Blanovschi 2023-11-04 19:48:44 +01:00
parent 8de489918b
commit 241a654c07
5 changed files with 9 additions and 9 deletions

View file

@ -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 => {}
}
}