Skip to content

Commit

Permalink
Fix rust doc, Bump to v0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
equation314 committed Aug 2, 2024
1 parent d5aa4b6 commit 91fcf12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
]

[workspace.package]
version = "0.3.1"
version = "0.3.2"
authors = ["Yuekai Jia <[email protected]>"]
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
homepage = "https://github.com/arceos-org/arceos"
Expand Down
6 changes: 3 additions & 3 deletions page_table_multiarch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ impl From<PageSize> for usize {

/// This type indicates the mapping of a virtual address has been changed.
///
/// The caller can call [`TlbFlushAll::flush`] to flush TLB entries related to
/// the given virtual address, or call [`TlbFlushAll::ignore`] if it knowns the
/// The caller can call [`TlbFlush::flush`] to flush TLB entries related to
/// the given virtual address, or call [`TlbFlush::ignore`] if it knowns the
/// TLB will be flushed later.
#[must_use]
pub struct TlbFlush<M: PagingMetaData>(M::VirtAddr, PhantomData<M>);
Expand All @@ -153,7 +153,7 @@ impl<M: PagingMetaData> TlbFlush<M> {

/// This type indicates the page table mappings have been changed.
///
/// The caller can call [`TlbFlushAll::flush`] to flush the entire TLB, or call
/// The caller can call [`TlbFlushAll::flush_all`] to flush the entire TLB, or call
/// [`TlbFlushAll::ignore`] if it knowns the TLB will be flushed later.
#[must_use]
pub struct TlbFlushAll<M: PagingMetaData>(PhantomData<M>);
Expand Down

0 comments on commit 91fcf12

Please sign in to comment.