Skip to content

Commit 1c80591

Browse files
fix exercise instruction typos (#2656)
1 parent 045fdc1 commit 1c80591

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/concept/secrets/.docs/instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ There will be further steps in the decryption process that assume 0s are inserte
1212
Implement the `Secrets.shiftBack` method that takes a value and the number of places to shift and peforms the shift.
1313

1414
```java
15-
Secrets.shiftBack(0b1001, 2);s
15+
Secrets.shiftBack(0b1001, 2);
1616
# => 0b0010
1717
```
1818

@@ -40,7 +40,7 @@ If the bit is 1 in mask, the bit is flipped in the value.
4040
All other bits are kept unchanged.
4141

4242
```java
43-
Secrets.flipBits(0b1100, 0b0101)
43+
Secrets.flipBits(0b1100, 0b0101);
4444
# => 0b1001
4545
```
4646

@@ -53,6 +53,6 @@ The bits in the `value` should be set to 0 where the bit in the mask is 1.
5353
All other bits should be kept unchanged.
5454

5555
```java
56-
Secrets.applyMask(0b0110, 0b0101);
56+
Secrets.clearBits(0b0110, 0b0101);
5757
# => 0b0010
5858
```

0 commit comments

Comments
 (0)