fix unecessary reference/dereference
This commit is contained in:
committed by
Bennet Bleßmann
parent
72631b3e0b
commit
ae3019d923
@@ -3277,7 +3277,7 @@ impl Machine {
|
||||
&Instruction::PutPartialString(_, ref string, reg) => {
|
||||
self.machine_st[reg] = backtrack_on_resource_error!(
|
||||
self.machine_st,
|
||||
self.machine_st.heap.allocate_pstr(&string)
|
||||
self.machine_st.heap.allocate_pstr(string)
|
||||
);
|
||||
|
||||
self.machine_st.p += 1;
|
||||
|
||||
Reference in New Issue
Block a user