We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a0de9 commit 2a0bf5eCopy full SHA for 2a0bf5e
another_enum.rs
@@ -9,7 +9,7 @@ impl VehicleStatus {
9
pub fn is_operational(&self) -> bool {
10
match self{
11
VehicleStatus::Parked => true,
12
- VehicleStatus::Driving{speed} => true,
+ VehicleStatus::Driving{..} => true,
13
_=> false,
14
}
15
0 commit comments