Skip to content

Commit

Permalink
chore(rust-toolchain): bump rust to 1.84 (#520)
Browse files Browse the repository at this point in the history
* chore(rust-toolchain): bump rust to 1.84

see https://github.com/rust-lang/rust/releases/tag/1.84.0

* fix(src/scene.rs): warning clippy::manual_ignore_case_cmp
  • Loading branch information
andros21 authored Jan 12, 2025
1 parent 6d4dfc3 commit 54c2a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.83"
channel = "1.84"
components = ["clippy", "rustfmt", "rust-docs"]
profile = "minimal"
2 changes: 1 addition & 1 deletion src/scene.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ impl<R: Read> InputStream<R> {
loop {
ch = self.read_char();
// If `e` or `E` char found could be an float in scientific notation.
if ch.to_ascii_lowercase() == 'e' {
if ch.eq_ignore_ascii_case(&'e') {
let ch_nx = self.read_char();
// If the char follow exp char isn't a digit or a sign, unroll.
if !(ch_nx.is_ascii_digit() || ['+', '-'].contains(&ch_nx)) {
Expand Down

0 comments on commit 54c2a2b

Please sign in to comment.