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`.
This commit is contained in:
Tobin C. Harding 2025-03-03 13:28:01 +11:00
parent 72823df014
commit 6f4eb60936
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
2 changed files with 2 additions and 2 deletions

View File

@ -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.
//!

View File

@ -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.