Skip to content

Commit d6d696b

Browse files
committed
errorsn.rs: Separate hints from code, so hints are not accidentally seen
Signed-off-by: Eddy Petrisor <eddy.petrisor@gmail.com>
1 parent ca6bf96 commit d6d696b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

exercises/error_handling/errorsn.rs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,36 @@ impl error::Error for CreationError {
108108
}
109109
}
110110

111+
112+
113+
114+
115+
116+
117+
118+
119+
120+
121+
122+
123+
124+
125+
126+
127+
128+
129+
130+
131+
132+
133+
134+
135+
136+
137+
138+
139+
140+
111141
// First hint: To figure out what type should go where the ??? is, take a look
112142
// at the test helper function `test_with_str`, since it returns whatever
113143
// `read_and_validate` returns and`test_with_str` has its signature fully

0 commit comments

Comments
 (0)