Skip to content

Commit 62ffa3f

Browse files
authored
Merge pull request #475 from mkroening/doc-fix
docs: fix and detect warnings
2 parents 2fbf90c + 505f65c commit 62ffa3f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
permissions:
1414
contents: read
1515

16+
env:
17+
RUSTDOCFLAGS: -Dwarnings
18+
1619
jobs:
1720
stable:
1821
name: "Test MSRV and Stable Features"

src/structures/idt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ impl_index_for_idt!(RangeFull);
671671

672672
/// An Interrupt Descriptor Table entry.
673673
///
674-
/// The generic parameter is some [`InterruptFn`], depending on the interrupt vector.
674+
/// The generic parameter is some [`HandlerFuncType`], depending on the interrupt vector.
675675
#[derive(Clone, Copy)]
676676
#[repr(C)]
677677
pub struct Entry<F> {

src/structures/paging/mapper/recursive_page_table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl<'a> RecursivePageTable<'a> {
5454
/// because allocating the last byte of the address space can lead to pointer
5555
/// overflows and undefined behavior. For more details, see the discussions
5656
/// [on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/end-of-address-space)
57-
/// and [in the `unsafe-code-guidelines ` repo]https://github.com/rust-lang/unsafe-code-guidelines/issues/420).
57+
/// and [in the `unsafe-code-guidelines ` repo](https://github.com/rust-lang/unsafe-code-guidelines/issues/420).
5858
#[inline]
5959
pub fn new(table: &'a mut PageTable) -> Result<Self, InvalidPageTable> {
6060
let page = Page::containing_address(VirtAddr::new(table as *const _ as u64));

0 commit comments

Comments
 (0)