fix(simulation): correct crate name in log10_floor doctest
The doctest imported `server::bps::log10_floor`, but the library crate is `settled_reach_server` — so `cargo test --doc` failed to compile the example (unresolved module `server`). Broken since the helper landed in #145; it only surfaces under `--doc`, not `--lib`, so the pre-push gate (which runs `--lib`) never caught it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// use server::bps::log10_floor;
|
||||
/// use settled_reach_server::bps::log10_floor;
|
||||
/// assert_eq!(log10_floor(1), 0);
|
||||
/// assert_eq!(log10_floor(9), 0);
|
||||
/// assert_eq!(log10_floor(10), 1);
|
||||
|
||||
Reference in New Issue
Block a user