refactor: avoid adding new trait bounds
This commit is contained in:
parent
b53f6566bc
commit
f26880180e
3 changed files with 116 additions and 131 deletions
|
|
@ -441,7 +441,7 @@ impl Context {
|
|||
/// Returns error on application failure.
|
||||
pub fn run<App: Application>(flags: App::Flags) -> iced::Result
|
||||
where
|
||||
App::Message: Into<crate::surface_message::MessageWrapper<App::Message>> + From<SurfaceMessage>,
|
||||
App::Message: Into<crate::surface_message::MessageWrapper<App::Message>>,
|
||||
{
|
||||
let helper = Context::default();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue