chore: upgrade to edition 2024
Co-authored-by: Ehren Bendler <a5ehren@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use color_eyre::eyre::Context;
|
||||
use color_eyre::eyre::Result;
|
||||
use color_eyre::eyre::{eyre, OptionExt};
|
||||
use color_eyre::eyre::{OptionExt, eyre};
|
||||
use etcetera::BaseStrategy;
|
||||
use ini::Ini;
|
||||
#[cfg(target_os = "linux")]
|
||||
@@ -20,10 +20,10 @@ use std::{env::var, path::Path};
|
||||
use std::{fs, io};
|
||||
use tracing::{debug, warn};
|
||||
|
||||
use crate::XDG_DIRS;
|
||||
use crate::command::CommandExt;
|
||||
use crate::sudo::SudoExecuteOpts;
|
||||
use crate::XDG_DIRS;
|
||||
use crate::{output_changed_message, HOME_DIR};
|
||||
use crate::{HOME_DIR, output_changed_message};
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
use super::linux::Distribution;
|
||||
@@ -33,7 +33,7 @@ use crate::execution_context::ExecutionContext;
|
||||
use crate::executor::Executor;
|
||||
use crate::step::Step;
|
||||
use crate::terminal::print_separator;
|
||||
use crate::utils::{require, PathExt};
|
||||
use crate::utils::{PathExt, require};
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "macos"))]
|
||||
const INTEL_BREW: &str = "/usr/local/bin/brew";
|
||||
|
||||
Reference in New Issue
Block a user