Skip to content

Commit fe688a2

Browse files
author
Luca Palmieri
committed
Fix function signature
1 parent f6235de commit fe688a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jira-wip/src/koans/01_ticket/03_validation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ mod validation {
2222
///
2323
/// We will learn a better way to handle recoverable errors such as this one further along, but let's rely
2424
/// on panic for the time being.
25-
fn create_ticket(title: String, description: String, status: Status) {
25+
fn create_ticket(title: String, description: String, status: Status) -> Ticket {
2626

2727
}
2828

@@ -78,4 +78,4 @@ mod validation {
7878
create_ticket(title, description, status);
7979
}
8080
}
81-
}
81+
}

0 commit comments

Comments
 (0)