From 6d0bac2842d5f58bc0988fc8b07debfa1dffbe99 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Mon, 11 Sep 2023 16:05:19 +0200 Subject: [PATCH] ls: use OnceCell from std instead of once_cell --- src/uu/ls/src/ls.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uu/ls/src/ls.rs b/src/uu/ls/src/ls.rs index 652b978a5..18a1a221d 100644 --- a/src/uu/ls/src/ls.rs +++ b/src/uu/ls/src/ls.rs @@ -12,8 +12,7 @@ use clap::{ use glob::{MatchOptions, Pattern}; use lscolors::LsColors; use number_prefix::NumberPrefix; -use once_cell::unsync::OnceCell; -use std::num::IntErrorKind; +use std::{cell::OnceCell, num::IntErrorKind}; use std::{collections::HashSet, io::IsTerminal}; #[cfg(windows)]