mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-26 17:15:52 +00:00
Make method name more explicit
This commit is contained in:
parent
3574ed401e
commit
b0d26c0dc9
@ -119,7 +119,7 @@ fn main() -> anyhow::Result<()> {
|
|||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
let watcher = model.watch(parameters)?;
|
let watcher = model.load_and_watch(parameters)?;
|
||||||
|
|
||||||
let event_loop = EventLoop::new();
|
let event_loop = EventLoop::new();
|
||||||
let window = Window::new(&event_loop);
|
let window = Window::new(&event_loop);
|
||||||
|
@ -96,7 +96,7 @@ impl Model {
|
|||||||
Ok(shape)
|
Ok(shape)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn watch(
|
pub fn load_and_watch(
|
||||||
self,
|
self,
|
||||||
parameters: HashMap<String, String>,
|
parameters: HashMap<String, String>,
|
||||||
) -> Result<Watcher, Error> {
|
) -> Result<Watcher, Error> {
|
||||||
|
Loading…
Reference in New Issue
Block a user