mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-25 16:45:52 +00:00
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:
parent
3ba26f05e8
commit
80741904a4
@ -28,7 +28,7 @@ pub struct Stores {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Stores {
|
impl Stores {
|
||||||
pub fn get<T>(&mut self) -> Store<T>
|
pub fn get<T>(&self) -> Store<T>
|
||||||
where
|
where
|
||||||
T: Object,
|
T: Object,
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user