From b8b82c3ea4ec154581f57b0d00f08f2fd1d871ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 1 Jul 2022 15:28:06 +0200 Subject: chore: use Rust 1.62.0 (#15028) --- ext/net/ops.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/net') 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 -- cgit v1.2.3