summaryrefslogtreecommitdiff
path: root/profcollectd
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2023-01-19 16:35:09 -0800
committerChris Wailes <chriswailes@google.com>2023-01-19 16:35:09 -0800
commitc270ca5a232a3670ad29e888140808d4e6662aa7 (patch)
tree9ec64331fefce000dae42135fc1d9ad081e8ec58 /profcollectd
parent58235e680a4fe91efc1034ed8462c861b567bb83 (diff)
downloadextras-c270ca5a232a3670ad29e888140808d4e6662aa7.tar.gz
Fix warnings from Rust 1.65.0
Bug: 250026064 Test: m rust Change-Id: Ib632cfeb0d38324314e1a90e6a25ea8d8291310a
Diffstat (limited to 'profcollectd')
-rw-r--r--profcollectd/libprofcollectd/service.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/profcollectd/libprofcollectd/service.rs b/profcollectd/libprofcollectd/service.rs
index 3f338024..8ae51527 100644
--- a/profcollectd/libprofcollectd/service.rs
+++ b/profcollectd/libprofcollectd/service.rs
@@ -131,7 +131,7 @@ impl ProfcollectdBinderService {
log::info!("Config change detected, resetting profcollect.");
clear_data()?;
- write(*CONFIG_FILE, &new_config.to_string())?;
+ write(*CONFIG_FILE, new_config.to_string())?;
}
// Clear profile reports out of rentention period.