Skip to content

Commit

Permalink
rust-fsm-dsl: resilient paths
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-babichenko committed May 13, 2024
1 parent cc961be commit 5f4038a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust-fsm-dsl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pub fn state_machine(tokens: TokenStream) -> TokenStream {

#[cfg(feature = "diagram")]
let diagram = quote! {
#[cfg_attr(doc, rust_fsm::aquamarine)]
#[cfg_attr(doc, ::rust_fsm::aquamarine)]
#mermaid_diagram
};

Expand All @@ -176,13 +176,13 @@ pub fn state_machine(tokens: TokenStream) -> TokenStream {
#attrs
pub struct Impl;

pub type StateMachine = rust_fsm::StateMachine<Impl>;
pub type StateMachine = ::rust_fsm::StateMachine<Impl>;

#input_impl
#state_impl
#output_impl

impl rust_fsm::StateMachineImpl for Impl {
impl ::rust_fsm::StateMachineImpl for Impl {
type Input = #input_type;
type State = #state_type;
type Output = #output_type;
Expand Down

0 comments on commit 5f4038a

Please sign in to comment.