From 07867b91f686e54e703211fbf09b0208c8c0e3a0 Mon Sep 17 00:00:00 2001 From: smarm Date: Sat, 20 Jun 2026 12:11:16 +0200 Subject: [PATCH] doc: links and tweaks --- src/gen_server.rs | 4 ++-- src/registry.rs | 2 +- src/trace.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gen_server.rs b/src/gen_server.rs index 4c14e2e..4b58384 100644 --- a/src/gen_server.rs +++ b/src/gen_server.rs @@ -1,6 +1,6 @@ //! gen_server — synchronous call / asynchronous cast over a single actor. //! -//! A thin request-reply layer on top of [`channel`](crate::channel), modelled +//! A thin request-reply layer on top of [`channel`](crate::channel()), modelled //! on Erlang's `gen_server`. A *server* is an actor owning a state value that //! implements [`GenServer`]; clients hold a clonable [`ServerRef`] and issue //! [`call`](ServerRef::call) (synchronous, returns a reply) or @@ -14,7 +14,7 @@ //! one-shot reply channel; the server sends the reply straight back down it. //! //! Out-of-band messages ride *separate* channels composed at the wait via -//! [`select`](crate::channel::select): info channels handed over at start +//! [`select`](channel::select): info channels handed over at start //! ([`ServerBuilder::with_info`]) are dispatched to //! [`handle_info`](GenServer::handle_info). Arm priority is //! **infos before inbox**, in declaration order — a hot inbox cannot starve diff --git a/src/registry.rs b/src/registry.rs index 6648cc9..f0eebc7 100644 --- a/src/registry.rs +++ b/src/registry.rs @@ -410,7 +410,7 @@ pub fn whereis(name: &str) -> Option { /// Resolve `name` to a *typed* [`Pid`] — the identity-bound counterpart of /// [`whereis`] (RFC 014 §4.4). Recovers the compile-checked -/// [`send_to`](crate::send_to) path from a durable name: looks the name up, +/// [`send_to`] path from a durable name: looks the name up, /// then re-types the erased pid as `Pid` via the unchecked /// [`assert_type`](crate::pid::assert_type) primitive. A wrong `A` is not /// unsound — it degrades to [`SendError::NoChannel`] on the next send (routing diff --git a/src/trace.rs b/src/trace.rs index 8296456..4545daa 100644 --- a/src/trace.rs +++ b/src/trace.rs @@ -11,7 +11,7 @@ //! cargo test --test runtime --features smarm-trace //! //! Output: smarm_trace.json in cwd, or $SMARM_TRACE_FILE. -//! View: https://ui.perfetto.dev or chrome://tracing +//! View: or chrome://tracing #[cfg(feature = "smarm-trace")] #[macro_export]