Skip to content

Commit

Permalink
rename Store::into_state -> into_data
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Jan 16, 2023
1 parent b569a62 commit cfdca6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wasmi/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ impl<T> Store<T> {
&mut self.data
}

/// Consumes `self` and returns its user provided state.
pub fn into_state(self) -> T {
/// Consumes `self` and returns its user provided data.
pub fn into_data(self) -> T {
self.data
}

Expand Down

0 comments on commit cfdca6b

Please sign in to comment.