mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 05:43:53 +01:00
make object fields trait public
This commit is contained in:
parent
6c43c604b8
commit
ab55ce9bf1
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "mers_lib"
|
||||
version = "0.9.5"
|
||||
version = "0.9.6"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "library to use the mers language in other projects"
|
||||
|
@ -174,7 +174,7 @@ impl ObjectT {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) trait ObjectFieldsMap {
|
||||
pub trait ObjectFieldsMap {
|
||||
fn get_or_add_field(&self, field: &str) -> usize;
|
||||
}
|
||||
impl ObjectFieldsMap for Arc<Mutex<HashMap<String, usize>>> {
|
||||
|
Loading…
Reference in New Issue
Block a user