Skip to content

Commit f0cf884

Browse files
committed
oops
1 parent 7c54477 commit f0cf884

File tree

1 file changed

+2
-2
lines changed
  • crates/byondapi-rs/src/value

1 file changed

+2
-2
lines changed

crates/byondapi-rs/src/value/list.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl ByondValue {
121121
}
122122

123123
/// Reads a value by key through the ref. Fails if the index doesn't exist
124-
fn read_list_index_internal(&self, index: &ByondValue) -> Result<ByondValue, Error> {
124+
pub fn read_list_index_internal(&self, index: &ByondValue) -> Result<ByondValue, Error> {
125125
let mut result = ByondValue::new();
126126
unsafe {
127127
map_byond_error!(byond().Byond_ReadListIndex(&self.0, &index.0, &mut result.0))?;
@@ -130,7 +130,7 @@ impl ByondValue {
130130
}
131131

132132
/// Writes a value by key through the ref. Dunno why it can fail
133-
fn write_list_index_internal(
133+
pub fn write_list_index_internal(
134134
&mut self,
135135
index: &ByondValue,
136136
value: &ByondValue,

0 commit comments

Comments
 (0)