Finite state machines in rust; bendns fork to add types.
Diffstat (limited to 'rust_fsm/src/lib.rs')
-rw-r--r--rust_fsm/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust_fsm/src/lib.rs b/rust_fsm/src/lib.rs
index e98e145..5443af6 100644
--- a/rust_fsm/src/lib.rs
+++ b/rust_fsm/src/lib.rs
@@ -45,11 +45,11 @@
//!
//! The DSL is parsed by the `state_machine` macro. Here is a little example.
//!
-//! ```rust
+//! ```rust,ignore
//! #[macro_use]
//! extern crate rust_fsm_dsl;
//!
-//! use use rust_fsm::*;
+//! use rust_fsm::*;
//!
//! state_machine! {
//! CircuitBreaker(Closed)
@@ -73,7 +73,7 @@
//!
//! This state machine can be used as follows:
//!
-//! ```rust
+//! ```rust,ignore
//! // Initialize the state machine. The state is `Closed` now.
//! let mut machine: StateMachineWrapper<CircuitBreaker> = StateMachineWrapper::new();
//! // Consume the `Successful` input. No state transition is performed. Output