From 85eaffed104e53c149f58f08aacbf7f7d532a94d Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 11 Nov 2024 00:30:07 +0100 Subject: refactor(engine): fix clippy lints --- engine/src/file_format/wavefront/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/src/file_format') diff --git a/engine/src/file_format/wavefront/common.rs b/engine/src/file_format/wavefront/common.rs index b3fec66..8cdfb34 100644 --- a/engine/src/file_format/wavefront/common.rs +++ b/engine/src/file_format/wavefront/common.rs @@ -241,7 +241,7 @@ impl Value })?)); } - if value.chars().all(|character| character.is_ascii()) { + if value.is_ascii() { return Ok(Self::Text(value.to_string())); } -- cgit v1.2.3-18-g5258