From 6f4eb609367918220f91b7b1f89241e488d17f5c Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 3 Mar 2025 13:28:01 +1100 Subject: [PATCH] Improve docs crate headings I took a look at the rendered HMTL of `bitcoin`, `primitives`, `units`, `serde`, and `tokio` and picked a header style that I thought looked good. Use it for `primitives` and `units`. --- primitives/src/lib.rs | 2 +- units/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs index 451a3c166..f73a7ce17 100644 --- a/primitives/src/lib.rs +++ b/primitives/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: CC0-1.0 -//! # Rust Bitcoin - primitive types. +//! # Rust Bitcoin - primitive types //! //! Primitive data types that are used throughout the [`rust-bitcoin`] ecosystem. //! diff --git a/units/src/lib.rs b/units/src/lib.rs index 4d3be98ac..5a9742986 100644 --- a/units/src/lib.rs +++ b/units/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: CC0-1.0 -//! Rust Bitcoin units library +//! # Rust Bitcoin - unit types //! //! This library provides basic types used by the Rust Bitcoin ecosystem.