diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/model/items.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/items.rs b/src/model/items.rs index e9c23c26..40f32fc4 100644 --- a/src/model/items.rs +++ b/src/model/items.rs @@ -23,7 +23,7 @@ pub static LANG_ITEMS: OnceCell<LangItems> = OnceCell::new(); /// break incremental, but only when different sets of lang items are used in /// the same program. For this reason, if this function is called multiple /// times, the items must be the same. -pub fn set_lang_items(items: LangItems) { +pub(crate) fn set_lang_items(items: LangItems) { if LANG_ITEMS.set(items).is_err() { let first = hash128(LANG_ITEMS.get().unwrap()); let second = hash128(&items); |
