From 76e775d38b7ededc9219926c0ef2f35e306ed2c5 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Mon, 2 Dec 2024 09:57:48 +0200 Subject: [PATCH] Update build.rs Co-authored-by: Max Inden --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index f98b216..5dd2c93 100644 --- a/build.rs +++ b/build.rs @@ -16,7 +16,7 @@ fn clang_args() -> Vec { let mut flags: Vec = std::fs::read_to_string(flags_path) .expect("Failed to read extra-bindgen-flags file") .split_whitespace() - .map(std::borrow::ToOwned::to_owned) + .to_owned() .collect(); flags.push(String::from("-include"));