Skip to content

Commit

Permalink
Merge pull request #225 from eminence/doc_fixes
Browse files Browse the repository at this point in the history
Fix some minor documentation issues
  • Loading branch information
eminence authored Dec 18, 2022
2 parents 700bcbb + 0022661 commit c219ada
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(unknown_lints)]
// The suggested fix with `str::parse` removes support for Rust 1.48
#![allow(clippy::from_str_radix_10)]
#![deny(broken_intra_doc_links)]
#![deny(broken_intra_doc_links, invalid_html_tags)]
//! This crate provides to an interface into the linux `procfs` filesystem, usually mounted at
//! `/proc`.
//!
Expand Down
8 changes: 4 additions & 4 deletions src/process/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ impl MemoryMap {
}
}

/// Represents the information about a specific mapping as presented in /proc/<pid>/smaps
/// Represents the information about a specific mapping as presented in /proc/\<pid\>/smaps
///
/// To construct this structure, see [Process::smaps()]
#[derive(Default, Debug)]
Expand Down Expand Up @@ -1572,15 +1572,15 @@ impl std::iter::Iterator for ProcessesIter {
pub struct StatM {
/// Total program size, measured in pages
///
/// (same as VmSize in /proc/<pid>/status)
/// (same as VmSize in /proc/\<pid\>/status)
pub size: u64,
/// Resident set size, measured in pages
///
/// (same as VmRSS in /proc/<pid>/status)
/// (same as VmRSS in /proc/\<pid\>/status)
pub resident: u64,
/// number of resident shared pages (i.e., backed by a file)
///
/// (same as RssFile+RssShmem in /proc/<pid>/status)
/// (same as RssFile+RssShmem in /proc/\<pid\>/status)
pub shared: u64,
/// Text (code)
pub text: u64,
Expand Down

0 comments on commit c219ada

Please sign in to comment.