diff options
Diffstat (limited to 'engine/src/file_format/wavefront')
-rw-r--r-- | engine/src/file_format/wavefront/common.rs | 2 |
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())); } |