Skip to content

Commit 5e7dcbc

Browse files
committed
fix typo
1 parent e87a32a commit 5e7dcbc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ostd/src/mm/frame/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ impl<'a, M: AnyFrameMeta> Frame<M> {
423423
PAGE_SIZE
424424
}
425425

426-
/* /// Gets the dyncamically-typed metadata of this frame.
426+
/* /// Gets the dynamically-typed metadata of this frame.
427427
///
428428
/// If the type is known at compile time, use [`Frame::meta`] instead.
429429
pub fn dyn_meta(&self) -> FrameMeta {

ostd/src/mm/page_table/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ pub(super) unsafe fn page_walk<C: PageTableConfig>(root_paddr: Paddr, vaddr: Vad
849849
/// and the pointer is in bounds.
850850
/// - Like an `AtomicUsize::load` in normal Rust, this function assumes that the value being loaded is an integer
851851
/// (and therefore can be safely cloned). We model the PTE as an abstract type, but in all actual implementations it is an
852-
/// integer. Importantly, it does not inclue any data that is unsafe to duplicate.
852+
/// integer. Importantly, it does not include any data that is unsafe to duplicate.
853853
#[verifier::external_body]
854854
#[verus_spec(
855855
with Tracked(perm): Tracked<&vstd_extra::array_ptr::PointsTo<E, NR_ENTRIES>>

0 commit comments

Comments
 (0)