Fixing a problem with the return type of interaction_create #1

Merged
moonleay merged 2 commits from migueldamota/Rustendo:fix/add-missing-await into master 2024-02-23 18:30:10 +00:00
Collaborator

This is a problem because the types look the same but they aren't, they return different outcomes when we would run the function. You can read more about this here: https://users.rust-lang.org/t/error-distinct-uses-of-impl-trait-result-in-different-opaque-types/46862/2

This is a problem because the types look the same but they aren't, they return different outcomes when we would run the function. You can read more about this here: https://users.rust-lang.org/t/error-distinct-uses-of-impl-trait-result-in-different-opaque-types/46862/2
migueldamota added 2 commits 2024-02-23 18:28:32 +00:00
Owner

Ah, thank you very much, I was struggling to find the error, which I made. (^^)/

Ah, thank you very much, I was struggling to find the error, which I made. \(^^)/
moonleay merged commit a1a78d6598 into master 2024-02-23 18:30:10 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DiscordBots/Rustendo#1
No description provided.