docs: document all public apis of embedded-hal-internal

* Make some fields and functions non-public where possible.
* Enable doc warnings for missing public API docs.
This commit is contained in:
Ulf Lilleengen
2023-12-08 20:42:52 +01:00
parent c94a9b8d75
commit 02b7a833d9
6 changed files with 27 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#![no_std]
#![allow(clippy::new_without_default)]
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
// This mod MUST go first, so that the others see its macros.
pub(crate) mod fmt;