Make Stores::get easier to call

It doesn't need the `&mut self`, and requiring it in the first place has
been an oversight.
This commit is contained in:
Hanno Braun 2022-04-01 17:43:48 +02:00
parent 3ba26f05e8
commit 80741904a4

View File

@ -28,7 +28,7 @@ pub struct Stores {
}
impl Stores {
pub fn get<T>(&mut self) -> Store<T>
pub fn get<T>(&self) -> Store<T>
where
T: Object,
{