rust: ExecutionContext::get_tx_context should not require a mutable self

This commit is contained in:
Alex Beregszaszi 2019-07-24 13:27:15 +01:00
parent 25dac2194b
commit b9de8476dd
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ impl<'a> ExecutionContext<'a> {
}
}
pub fn get_tx_context(&mut self) -> &ExecutionTxContext {
pub fn get_tx_context(&self) -> &ExecutionTxContext {
&self.tx_context
}