Remove unnecessary mut.
`mut_results` immediately below is the `&mut self` version, this one should be `&self`.
This commit is contained in:
@@ -147,7 +147,7 @@ where
|
||||
}
|
||||
|
||||
/// 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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user