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:
@@ -20,6 +20,7 @@ pub struct PeripheralRef<'a, T> {
|
||||
}
|
||||
|
||||
impl<'a, T> PeripheralRef<'a, T> {
|
||||
/// Create a new reference to a peripheral.
|
||||
#[inline]
|
||||
pub fn new(inner: T) -> Self {
|
||||
Self {
|
||||
|
||||
Reference in New Issue
Block a user