Skip to content

Commit 2a0bf5e

Browse files
authored
Update another_enum.rs
1 parent b6a0de9 commit 2a0bf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

another_enum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ impl VehicleStatus {
99
pub fn is_operational(&self) -> bool {
1010
match self{
1111
VehicleStatus::Parked => true,
12-
VehicleStatus::Driving{speed} => true,
12+
VehicleStatus::Driving{..} => true,
1313
_=> false,
1414
}
1515
}

0 commit comments

Comments
 (0)