From 3e9c33377c71b62221669922818c3dadc42751e6 Mon Sep 17 00:00:00 2001 From: smarm-agent Date: Sat, 20 Jun 2026 19:51:33 +0000 Subject: [PATCH] gen_statem: disambiguate module/macro intra-doc links --- src/gen_statem.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gen_statem.rs b/src/gen_statem.rs index 745bc72..6bd174a 100644 --- a/src/gen_statem.rs +++ b/src/gen_statem.rs @@ -14,7 +14,7 @@ //! [`on_start`](Machine::on_start), then one [`handle`](Machine::handle) per //! inbox event — mirroring `gen_server`'s spawn/teardown idioms. //! -//! The [`gen_statem!`](crate::gen_statem) macro is the authoring surface: it +//! The [`gen_statem!`](crate::gen_statem!) macro is the authoring surface: it //! *generates* a `Machine` impl from per-state handler blocks. Edge-validity is //! not a separate check — it falls out of the generated total `match (state, //! event)` under denied lints (a forgotten or duplicated pair is a compile @@ -82,7 +82,7 @@ use std::time::Duration; // Machine // --------------------------------------------------------------------------- -/// A finite state machine driven by the [`statem`](crate::gen_statem) loop. +/// A finite state machine driven by the [`statem`](mod@crate::gen_statem) loop. /// /// The implementor owns its current state tag and its persistent data. It is /// the **sole writer** of the state cell (the loop never touches it): both