From a632c960bac303dcec5f8ada8d18d5b7733d0873 Mon Sep 17 00:00:00 2001 From: Amod Malviya Date: Mon, 6 May 2024 12:41:27 +0530 Subject: [PATCH] macos: fix lint #build-macos --- tests/test_ios.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ios.rs b/tests/test_ios.rs index be0273d..d1fb8e7 100644 --- a/tests/test_ios.rs +++ b/tests/test_ios.rs @@ -72,7 +72,7 @@ mod tests { }) .collect::>() .join("\n"); - fs::write(&swift_src, &new_code).expect("failed to modify ContentView.swift"); + fs::write(&swift_src, new_code).expect("failed to modify ContentView.swift"); let revert_code = || fs::write(&swift_src, &old_code).expect("failed to revert code"); let handle_exec_result = |result: std::io::Result, err_msg: &str| { revert_code();