mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
rustfmt.toml: specify edition to allow 2024 syntax
cargo fmt works but "rustfmt src/env_dispatch.rs" fails,
error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `"C"`
--> src/env_dispatch.rs:572:63
|
572 | let loc_ptr = unsafe { libc::setlocale(libc::LC_NUMERIC, c"C".as_ptr().cast()) };
| -^^
Fix that as suggested
This commit is contained in:
@@ -1 +1,2 @@
|
||||
edition = "2024"
|
||||
style_edition = "2024"
|
||||
|
||||
Reference in New Issue
Block a user