diff options
| author | Yang Hau <vulxj0j8j8@gmail.com> | 2023-06-07 07:42:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-07 14:42:58 +0200 |
| commit | 0dc1776202149bb59c21d1db8efe2a10c409b6e6 (patch) | |
| tree | 559458439d86e43ec5376e33db7cc18b5139caca /cli | |
| parent | 3d3ea9016f339b3753fc7e4c909d6a522a0b7a75 (diff) | |
refactor: Replace once_cell to std lib (#1402)
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/main.rs b/cli/src/main.rs index d0cf6139..9756c168 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -18,9 +18,9 @@ use comemo::Prehashed; use elsa::FrozenVec; use memmap2::Mmap; use notify::{RecommendedWatcher, RecursiveMode, Watcher}; -use once_cell::unsync::OnceCell; use same_file::{is_same_file, Handle}; use siphasher::sip128::{Hasher128, SipHasher13}; +use std::cell::OnceCell; use termcolor::{ColorChoice, StandardStream, WriteColor}; use typst::diag::{FileError, FileResult, SourceError, StrResult}; use typst::doc::Document; |
