summaryrefslogtreecommitdiff
path: root/ext/net/ops.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-07-01 15:28:06 +0200
committerGitHub <noreply@github.com>2022-07-01 15:28:06 +0200
commitb8b82c3ea4ec154581f57b0d00f08f2fd1d871ce (patch)
treed94e3230479fe44dfe347d452423f98a5a1d8a47 /ext/net/ops.rs
parent77c25beaa59d64035c20ef59d93ed5a99677bc93 (diff)
chore: use Rust 1.62.0 (#15028)
Diffstat (limited to 'ext/net/ops.rs')
-rw-r--r--ext/net/ops.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/net/ops.rs b/ext/net/ops.rs
index 3522a919c..87bfc3272 100644
--- a/ext/net/ops.rs
+++ b/ext/net/ops.rs
@@ -754,13 +754,14 @@ fn rdata_to_return_record(
let mut s = String::new();
if let Some(name) = name {
- s.push_str(&format!("{}", name));
+ s.push_str(&name.to_string());
} else if name.is_none() && key_values.is_empty() {
s.push(';');
}
for key_value in key_values {
- s.push_str(&format!("; {}", key_value));
+ s.push_str("; ");
+ s.push_str(&key_value.to_string());
}
s