Commit d4852dc
Martijn Hoekstra
move safe last impl to TraversableViewLike
also align with lastOption impl in terms of empty/hasElements1 parent 0ee8875 commit d4852dc
File tree
2 files changed
+15
-6
lines changed- src/library/scala/collection
2 files changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
| 431 | + | |
| 432 | + | |
435 | 433 | | |
436 | | - | |
437 | | - | |
| 434 | + | |
438 | 435 | | |
439 | 436 | | |
440 | 437 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
115 | 127 | | |
116 | 128 | | |
117 | 129 | | |
| |||
0 commit comments