Skip to content

Commit

Permalink
Remove commented-out states
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Sep 28, 2023
1 parent 15d9243 commit b6fcf4b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,6 @@ pub enum State {
/// The responder sent a response.
Responded = 4,

// #[doc(hidden)]
// CancelingRequested = 10,
// #[doc(hidden)]
// CancelingBuildingResponse = 11,
/// The requester canceled the request. Responder needs to acknowledge to return to `Idle`
/// state.
Canceled = 12,
}

Expand All @@ -171,11 +165,7 @@ impl From<u8> for State {
2 => State::Requested,
3 => State::BuildingResponse,
4 => State::Responded,

// 10 => State::CancelingRequested,
// 11 => State::CancelingBuildingResponse,
12 => State::Canceled,

_ => State::Idle,
}
}
Expand Down

0 comments on commit b6fcf4b

Please sign in to comment.