make object fields trait public

This commit is contained in:
Mark 2024-10-11 21:26:27 +02:00
parent 6c43c604b8
commit ab55ce9bf1
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "mers_lib" name = "mers_lib"
version = "0.9.5" version = "0.9.6"
edition = "2021" edition = "2021"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
description = "library to use the mers language in other projects" description = "library to use the mers language in other projects"

View File

@ -174,7 +174,7 @@ impl ObjectT {
} }
} }
pub(crate) trait ObjectFieldsMap { pub trait ObjectFieldsMap {
fn get_or_add_field(&self, field: &str) -> usize; fn get_or_add_field(&self, field: &str) -> usize;
} }
impl ObjectFieldsMap for Arc<Mutex<HashMap<String, usize>>> { impl ObjectFieldsMap for Arc<Mutex<HashMap<String, usize>>> {