Add Fn suffix to application and daemon traits

This commit is contained in:
Héctor Ramón Jiménez 2025-09-08 12:29:10 +02:00
parent 323b17d458
commit 9518573fce
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 44 additions and 44 deletions

View file

@ -691,8 +691,8 @@ pub type Result = std::result::Result<(), Error>;
/// }
/// ```
pub fn run<State, Message, Theme, Renderer>(
update: impl application::Update<State, Message> + 'static,
view: impl for<'a> application::View<'a, State, Message, Theme, Renderer>
update: impl application::UpdateFn<State, Message> + 'static,
view: impl for<'a> application::ViewFn<'a, State, Message, Theme, Renderer>
+ 'static,
) -> Result
where