From 166ec02973dc275ee4fe96779622ab7de3282548 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bennet=20Ble=C3=9Fmann?= Date: Thu, 31 Jul 2025 21:36:53 +0200 Subject: [PATCH] ignore clippy::unbuffered_bytes in test helper functions --- src/machine/mock_wam.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/machine/mock_wam.rs b/src/machine/mock_wam.rs index 941ff81e..d157ee14 100644 --- a/src/machine/mock_wam.rs +++ b/src/machine/mock_wam.rs @@ -249,6 +249,7 @@ pub(crate) fn parse_and_write_parsed_term_to_heap( impl Machine { /// For use in tests. + #[allow(clippy::unbuffered_bytes)] pub fn test_load_file(&mut self, file: &str) -> Vec { let stream = Stream::from_owned_string( std::fs::read_to_string(AsRef::::as_ref(file)).unwrap(), @@ -260,6 +261,7 @@ impl Machine { } /// For use in tests. + #[allow(clippy::unbuffered_bytes)] pub fn test_load_string(&mut self, code: &str) -> Vec { let stream = Stream::from_owned_string(code.to_owned(), &mut self.machine_st.arena); -- 2.54.0