summaryrefslogtreecommitdiffstats
path: root/src/app/data_farmer.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2022-04-27 19:23:34 -0400
committerGitHub <noreply@github.com>2022-04-27 19:23:34 -0400
commit476a4ad91085210b069c926353359b35820d79eb (patch)
tree06f4a281ef75bcf69149bde5289a6043362b319e /src/app/data_farmer.rs
parentd43bd6147ddf418f1f5a36b23384791d1d4846d7 (diff)
deps: update dependencies (#713)
Updates various dependencies in both Cargo.toml and Cargo.lock.
Diffstat (limited to 'src/app/data_farmer.rs')
-rw-r--r--src/app/data_farmer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/data_farmer.rs b/src/app/data_farmer.rs
index 1e320caa..1860c91b 100644
--- a/src/app/data_farmer.rs
+++ b/src/app/data_farmer.rs
@@ -249,7 +249,7 @@ impl DataCollection {
for (itx, device) in disks.iter().enumerate() {
if let Some(trim) = device.name.split('/').last() {
let io_device = if cfg!(target_os = "macos") {
- // Must trim one level further!
+ // Must trim one level further for macOS!
static DISK_REGEX: Lazy<Regex> = Lazy::new(|| Regex::new(r"disk\d+").unwrap());
if let Some(disk_trim) = DISK_REGEX.find(trim) {
io.get(disk_trim.as_str())