Skip to content

Commit 80bcfb2

Browse files
Merge pull request #1588 from GuillaumeGomez/doc
Improve documentation of `System::refresh_cpu_specifics`
2 parents 90f9005 + 1c19785 commit 80bcfb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/system.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ impl System {
255255
self.refresh_cpu_specifics(CpuRefreshKind::everything())
256256
}
257257

258-
/// Refreshes CPUs specific information.
258+
/// Refreshes CPUs specific information. It does not refresh the CPU list.
259+
/// If you want to refresh the CPU list, use [`System::refresh_cpu_list`] instead.
259260
///
260261
/// ```no_run
261262
/// use sysinfo::{System, CpuRefreshKind};

0 commit comments

Comments
 (0)