summaryrefslogtreecommitdiff
path: root/engine/src/file_format/wavefront/common.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-11-11 00:30:07 +0100
committerHampusM <hampus@hampusmat.com>2024-11-11 00:30:07 +0100
commit85eaffed104e53c149f58f08aacbf7f7d532a94d (patch)
tree88d126459956bb6b1aeb97c9ea715b7e48055c26 /engine/src/file_format/wavefront/common.rs
parent7c5c87d316df31bfe732872df10eaa1a4b6f3a12 (diff)
refactor(engine): fix clippy lints
Diffstat (limited to 'engine/src/file_format/wavefront/common.rs')
-rw-r--r--engine/src/file_format/wavefront/common.rs2
1 files changed, 1 insertions, 1 deletions
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()));
}