Skip to content

Commit d6712f9

Browse files
committed
Analysis::run no longer needs to be mut
1 parent 269b0df commit d6712f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jingle/src/analysis/cpa/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ where
5252
///
5353
/// Returns an iterator over abstract states reached from the initial abstract state.
5454
fn run_cpa<I: Borrow<Self::State>, P: PcodeStore>(
55-
&mut self,
55+
&self,
5656
initial: I,
5757
pcode_store: &P,
5858
) -> <<Self as ConfigurableProgramAnalysis>::Reducer as Residue<Self::State>>::Output {

jingle/src/analysis/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ where
3434
/// to `make_output` for any post-processing. Types can override this to provide
3535
/// custom run behavior.
3636
fn run<T: PcodeStore, I: IntoState<Self>>(
37-
&mut self,
37+
&self,
3838
store: T,
3939
initial_state: I,
4040
) -> <Self::Reducer as Residue<Self::State>>::Output {

0 commit comments

Comments
 (0)