Skip to content

fix init function signature error#1

Open
micaiah-effiong wants to merge 1 commit intoRelm4:mainfrom
micaiah-effiong:patch-1
Open

fix init function signature error#1
micaiah-effiong wants to merge 1 commit intoRelm4:mainfrom
micaiah-effiong:patch-1

Conversation

@micaiah-effiong
Copy link

fix init function signature error

initial error

method `init` has an incompatible type for trait
   expected signature `fn(ComponentInit, gtk4::Box, relm4::ComponentSender<_>) -> ComponentParts<_>`
      found signature `fn(ComponentInit, &gtk4::Box, relm4::ComponentSender<_>) -> ComponentParts<_>` [E0053]

fix `init` function signature error

#initial error
```
method `init` has an incompatible type for trait
   expected signature `fn(ComponentInit, gtk4::Box, relm4::ComponentSender<_>) -> ComponentParts<_>`
      found signature `fn(ComponentInit, &gtk4::Box, relm4::ComponentSender<_>) -> ComponentParts<_>` [E0053]
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant