Skip to content

Commit

Permalink
Rollup merge of #98165 - WaffleLapkin:once_things_renamings, r=m-ou-se
Browse files Browse the repository at this point in the history
once cell renamings

This PR does the renamings proposed in rust-lang/rust#74465 (comment)

- Move/rename `lazy::{OnceCell, Lazy}` to `cell::{OnceCell, LazyCell}`
- Move/rename `lazy::{SyncOnceCell, SyncLazy}` to `sync::{OnceLock, LazyLock}`

(I used `Lazy...` instead of `...Lazy` as it seems to be more consistent, easier to pronounce, etc)

```@rustbot``` label +T-libs-api -T-libs
  • Loading branch information
matthiaskrgr committed Jun 18, 2022
2 parents 449b309 + 6d8c450 commit 5543d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use rustc_span::Symbol;

use cranelift_jit::{JITBuilder, JITModule};

// FIXME use std::lazy::SyncOnceCell once it stabilizes
// FIXME use std::sync::OnceLock once it stabilizes
use once_cell::sync::OnceCell;

use crate::{prelude::*, BackendConfig};
Expand Down

0 comments on commit 5543d22

Please sign in to comment.