From bd5436d7912d7252d20fbb3c403f61261a0506eb Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Thu, 22 Jan 2026 10:46:42 +0100 Subject: [PATCH] core: Fix doctest Two code fences that do not contain are not marked as such, leading to false negatives when testing `radicle-core`. To remedy, mark these fences as text. --- crates/radicle-core/src/node.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/radicle-core/src/node.rs b/crates/radicle-core/src/node.rs index 1fb97777..5de6376a 100644 --- a/crates/radicle-core/src/node.rs +++ b/crates/radicle-core/src/node.rs @@ -2,11 +2,11 @@ //! is a Ed25519 public key. //! //! The human-readable format is a multibase-encoded format of the underlying Ed25519 public key, i.e. -//! ``` +//! ```text //! MULTIBASE(base58-btc, MULTICODEC(public-key-type, raw-public-key-bytes)) //! ``` //! which results in strings that look like: -//! ``` +//! ```text //! z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi //! ```