summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-17 21:57:15 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-17 23:04:02 +0100
commitddb617390cf7150042726742749806eab6b3dd54 (patch)
treef102a8ad40e2127215c00c879c80e6432a3e26df /src
parentcabd0908e230e451bd9f1394390f8c5deb17182e (diff)
Simplify layout_inline's signature
Diffstat (limited to 'src')
-rw-r--r--src/model/items.rs2
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);