Rust 1.85, edition=2024 (#15741)

This commit is contained in:
Jack Wright
2025-05-13 07:49:30 -07:00
committed by GitHub
parent 1a0986903f
commit c2ac8f730e
793 changed files with 4276 additions and 3687 deletions

View File

@ -1,7 +1,7 @@
[package]
authors = ["The Nushell Project Developers"]
description = "Nushell utility functions"
edition = "2021"
edition = "2024"
license = "MIT"
name = "nu-utils"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-utils"
@ -39,4 +39,4 @@ crossterm_winapi = "0.9"
nix = { workspace = true, default-features = false, features = ["user", "fs"] }
[lints]
workspace = true
workspace = true

View File

@ -1,5 +1,5 @@
#[cfg(unix)]
use nix::unistd::{access, AccessFlags};
use nix::unistd::{AccessFlags, access};
#[cfg(any(windows, unix))]
use std::path::Path;

View File

@ -1,4 +1,4 @@
use serde_json::{json, Map, Value as SerdeValue};
use serde_json::{Map, Value as SerdeValue, json};
/// JsonFlattener is the main driver when flattening JSON
/// # Examples