Skip to content
Snippets Groups Projects
Commit 32f51b11 authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Fix comment

parent 78e4db31
Branches
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ impl BikeBuilder {
}
/// Builds the bike from the builder.
///
/// Will panic if the builder configuration is not correct
/// Will return an error is the bike builder misses parts
pub fn build(self) -> Result<Bike, String> {
match (self.wheels, self.transmission, self.brakes) {
(Some(w), Some(t), Some(b)) => Ok(Bike {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment