Remove unnecessary mut
.
`mut_results` immediately below is the `&mut self` version, this one should be `&self`.
This commit is contained in:
parent
0f12da17c0
commit
406c0b8ae4
@ -147,7 +147,7 @@ pub(crate) fn allow_unreachable(&mut self) {
|
||||
}
|
||||
|
||||
/// Returns the underlying `Results`.
|
||||
pub fn results(&mut self) -> &Results<'tcx, A, R::EntrySets> {
|
||||
pub fn results(&self) -> &Results<'tcx, A, R::EntrySets> {
|
||||
self.results.borrow()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user