Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jupyterkat committed Dec 15, 2023
1 parent 7c54477 commit f0cf884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/byondapi-rs/src/value/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl ByondValue {
}

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

/// Writes a value by key through the ref. Dunno why it can fail
fn write_list_index_internal(
pub fn write_list_index_internal(
&mut self,
index: &ByondValue,
value: &ByondValue,
Expand Down

0 comments on commit f0cf884

Please sign in to comment.