Manually cleaned up patches/patches for issue #73
Patches cleaned and fixed by hand as proof of my devotion. <3pull/2/head
parent
c3128f3dee
commit
f6d1b36be2
@ -1,8 +1,8 @@
|
|||||||
23c23
|
28c28
|
||||||
< const leet = ???;
|
< const leet = ???;
|
||||||
---
|
---
|
||||||
> const leet = le ++ et;
|
> const leet = le ++ et;
|
||||||
28c28
|
33c33
|
||||||
< const bit_pattern = [_]u8{ ??? } ** 3;
|
< const bit_pattern = [_]u8{ ??? } ** 3;
|
||||||
---
|
---
|
||||||
> const bit_pattern = [_]u8{ 1, 0, 0, 1 } ** 3;
|
> const bit_pattern = [_]u8{ 1, 0, 0, 1 } ** 3;
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
25c25
|
27c27
|
||||||
< const d: u8 = ziggy[???];
|
< const d: u8 = ziggy[???];
|
||||||
---
|
---
|
||||||
> const d: u8 = ziggy[4];
|
> const d: u8 = ziggy[4];
|
||||||
29c29
|
31c31
|
||||||
< const laugh = "ha " ???;
|
< const laugh = "ha " ???;
|
||||||
---
|
---
|
||||||
> const laugh = "ha " ** 3;
|
> const laugh = "ha " ** 3;
|
||||||
36c36
|
38c38
|
||||||
< const major_tom = major ??? tom;
|
< const major_tom = major ??? tom;
|
||||||
---
|
---
|
||||||
> const major_tom = major ++ " " ++ tom;
|
> const major_tom = major ++ " " ++ tom;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
26c26
|
27c27
|
||||||
< if (foo) {
|
< if (foo) {
|
||||||
---
|
---
|
||||||
> if (foo == 1) {
|
> if (foo == 1) {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
31c31
|
28c28
|
||||||
< ??? deepThought() ??? {
|
< ??? deepThought() ??? {
|
||||||
---
|
---
|
||||||
> fn deepThought() u8 {
|
> fn deepThought() u8 {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
84c84
|
87c87
|
||||||
< ???.zap(heat_ray_strength);
|
< ???.zap(heat_ray_strength);
|
||||||
---
|
---
|
||||||
> alien.zap(heat_ray_strength);
|
> alien.zap(heat_ray_strength);
|
||||||
|
@ -1,24 +1,8 @@
|
|||||||
38,40d37
|
85c84
|
||||||
< // Important: the sentinel value must be of the same type as the
|
|
||||||
< // data being terminated!
|
|
||||||
< //
|
|
||||||
56c53
|
|
||||||
< // numbers that both ends in and CONTAINS the sentinel value.
|
|
||||||
---
|
|
||||||
> // numbers that both ends in and CONTAINS the sentinal value.
|
|
||||||
62,63c59,62
|
|
||||||
< // the sentinel 0 in the middle. The many-item pointer stops
|
|
||||||
< // at the first sentinel value.)
|
|
||||||
---
|
|
||||||
> // the sentinel 0 in the middle. The many-item pointer must
|
|
||||||
> // stop at the first sentinel value. The difference is simply
|
|
||||||
> // that arrays have a known length and many-item pointers
|
|
||||||
> // don't.)
|
|
||||||
84c83
|
|
||||||
< for (???) |s| {
|
< for (???) |s| {
|
||||||
---
|
---
|
||||||
> for (my_seq) |s| {
|
> for (my_seq) |s| {
|
||||||
96c95
|
97c96
|
||||||
< while (??? != my_sentinel) {
|
< while (??? != my_sentinel) {
|
||||||
---
|
---
|
||||||
> while (my_seq[i] != my_sentinel) {
|
> while (my_seq[i] != my_sentinel) {
|
||||||
|
Loading…
Reference in New Issue