summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-11-08 13:55:20 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-11-08 14:16:45 +0100
commit2924ae213c68ab10ed8902bb9699960374dce5fc (patch)
tree929cea24524f4b28d0c52ff24ee1deaa510e8a3f /mullvad-daemon/src
parent7d700e2a987c4a2366707de3b0cae0c4bc0b422e (diff)
downloadmullvadvpn-2924ae213c68ab10ed8902bb9699960374dce5fc.tar.xz
mullvadvpn-2924ae213c68ab10ed8902bb9699960374dce5fc.zip
rustfmt after 0.2.15 upgrade
Diffstat (limited to 'mullvad-daemon/src')
-rw-r--r--mullvad-daemon/src/bin/problem-report.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/mullvad-daemon/src/bin/problem-report.rs b/mullvad-daemon/src/bin/problem-report.rs
index 18b0678ddf..c3607186fb 100644
--- a/mullvad-daemon/src/bin/problem-report.rs
+++ b/mullvad-daemon/src/bin/problem-report.rs
@@ -133,12 +133,8 @@ fn run() -> Result<()> {
}
}
-fn collect_report(
- log_paths: &[&Path],
- output_path: &Path,
- remove_terms: Vec<String>,
-) -> Result<()> {
- let mut problem_report = ProblemReport::new(remove_terms);
+fn collect_report(log_paths: &[&Path], output_path: &Path, redacts: Vec<String>) -> Result<()> {
+ let mut problem_report = ProblemReport::new(redacts);
for log_path in log_paths {
problem_report.add_log(log_path);
}