Commit d5a99dd
authored
Remove unnecessary 'return'
Better to remove 'return' before 'reject' in two example code pieces. This 'return' doesn't make sense.
Also, there is no such 'return' keyword in English version of this article.
This mistake in example code makes difficult to beginners to understand the code, distracts attention, creates questions in comments.1 parent 098c554 commit d5a99dd
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments