diff options
Diffstat (limited to 'ext/net/ops.rs')
-rw-r--r-- | ext/net/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/net/ops.rs b/ext/net/ops.rs index 259703d17..1d84a1067 100644 --- a/ext/net/ops.rs +++ b/ext/net/ops.rs @@ -488,7 +488,7 @@ where .lookup(query, record_type) .await .map_err(|e| { - let message = format!("{}", e); + let message = format!("{e}"); match e.kind() { ResolveErrorKind::NoRecordsFound { .. } => { custom_error("NotFound", message) |