Skip to content

Commit

Permalink
clean up the doc links a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dlowe committed Nov 26, 2024
1 parent 5fff4ff commit 504e99f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/common/disk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Disk {

/// Updates the disk' information with everything loaded.
///
/// Equivalent to [`Disk::refresh_specifics`]`(`[`DiskRefreshKind::everything`]`())`.
/// Equivalent to <code>[Disk::refresh_specifics]\([DiskRefreshKind::everything]\())</code>.
///
/// ```no_run
/// use sysinfo::Disks;
Expand Down Expand Up @@ -262,7 +262,7 @@ impl Disks {

/// Creates a new [`Disks`][crate::Disks] type with the disk list loaded.
///
/// Equivalent to [`Disks::new_with_refreshed_list_specifics`]`(`[`DiskRefreshKind::everything`]`())`.
/// Equivalent to <code>[Disks::new_with_refreshed_list_specifics]\([DiskRefreshKind::everything]\())</code>.
///
/// ```no_run
/// use sysinfo::Disks;
Expand Down Expand Up @@ -325,7 +325,7 @@ impl Disks {

/// Refreshes the listed disks' information.
///
/// Equivalent to [`Disks::refresh_specifics`]`(`[`DiskRefreshKind::everything`]`())`.
/// Equivalent to <code>[Disks::refresh_specifics]\([DiskRefreshKind::everything]\())</code>.
pub fn refresh(&mut self) {
self.refresh_specifics(DiskRefreshKind::everything());
}
Expand All @@ -351,7 +351,7 @@ impl Disks {

/// The disk list will be emptied then completely recomputed.
///
/// Equivalent to [`Disks::refresh_list_specifics`]`(`[`DiskRefreshKind::everything`]`())`.
/// Equivalent to <code>[Disks::refresh_list_specifics]\([DiskRefreshKind::everything]\())</code>.
///
/// ```no_run
/// use sysinfo::Disks;
Expand Down

0 comments on commit 504e99f

Please sign in to comment.