Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit 3ad4f55

Browse files
qwandorandre-richter
authored andcommitted
Fix cargo doc warnings.
1 parent d8af7da commit 3ad4f55

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@
4141
//!
4242
//! ### Example
4343
//!
44-
//! Check out https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials for usage examples.
45-
//! Listed below is a snippet of `rust-raspberrypi-OS-tutorials`'s early boot code.
44+
//! Check out
45+
//! [rust-raspberrypi-OS-tutorials](https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials)
46+
//! for usage examples. Listed below is a snippet of `rust-raspberrypi-OS-tutorials`'s early boot
47+
//! code.
4648
//!
4749
//! ```rust
4850
//! use cortex_a::{asm, registers::*};

src/registers/oslar_el1.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
//!
1111
//! Used to lock or unlock the OS Lock.
1212
//!
13-
//! AArch64 System register OSLAR_EL1 bits [31:0] are architecturally mapped to External register
14-
//! OSLAR_EL1[31:0]. The OS Lock can also be locked or unlocked using DBGOSLAR.
13+
//! AArch64 System register `OSLAR_EL1` bits \[31:0\] are architecturally mapped to External
14+
//! register `OSLAR_EL1[31:0]`. The OS Lock can also be locked or unlocked using `DBGOSLAR`.
1515
1616
use tock_registers::{
1717
interfaces::{Readable, Writeable},
@@ -20,8 +20,8 @@ use tock_registers::{
2020

2121
register_bitfields! {u64,
2222
pub OSLAR_EL1 [
23-
/// On writes to OSLAR_EL1, bit[0] is copied to the OS Lock.
24-
/// Use OSLSR_EL1.OSLK to check the current status of the lock.
23+
/// On writes to `OSLAR_EL1`, bit[0] is copied to the OS Lock.
24+
/// Use `OSLSR_EL1.OSLK` to check the current status of the lock.
2525
OSLK OFFSET(0) NUMBITS(1) [
2626
Unlocked = 0,
2727
Locked = 1

0 commit comments

Comments
 (0)