We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6235de commit fe688a2Copy full SHA for fe688a2
jira-wip/src/koans/01_ticket/03_validation.rs
@@ -22,7 +22,7 @@ mod validation {
22
///
23
/// We will learn a better way to handle recoverable errors such as this one further along, but let's rely
24
/// on panic for the time being.
25
- fn create_ticket(title: String, description: String, status: Status) {
+ fn create_ticket(title: String, description: String, status: Status) -> Ticket {
26
27
}
28
@@ -78,4 +78,4 @@ mod validation {
78
create_ticket(title, description, status);
79
80
81
-}
+}
0 commit comments