From 80ed797e0634a195be6eec2e69f679a2349f863a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Sun, 19 Feb 2023 18:13:55 +0000
Subject: [PATCH] fix: strategy to fix the clippy issue

---
 build.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/build.rs b/build.rs
index feac0224..cdbf1da1 100644
--- a/build.rs
+++ b/build.rs
@@ -25,7 +25,6 @@
 /// ```
 use chrono::Utc;
 use regex::Regex;
-use std::fmt::Write as _;
 use std::fs::{File, OpenOptions};
 use std::io::Write;
 use std::path::Path;
@@ -141,7 +140,7 @@ where
 {
     let mut list_str = String::new();
     for value in &vec {
-        write!(&mut list_str, "\"{}\", ", value).unwrap();
+        list_str.push_str(format!("\"{}\", ", value).as_str());
     }
     list_str.pop();
     writeln!(
-- 
GitLab