Skip to content

Commit 9ef840a

Browse files
authored
Merge branch 'develop' into delayed_assignment
2 parents 5ae7ef4 + 9555b93 commit 9ef840a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/objects/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Broom {
3434
class Witch {
3535
Object pullFromHat() {
3636
double r = Math.random();
37-
if (Math.random() < 0.25) {
37+
if (r < 0.25) {
3838
return new Spell("Ensmallen");
3939
}
4040
else if (r < 0.5) {

src/time/instant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void main() {
1313
}
1414
```
1515

16-
But if you happen to know a number milliseconds after January 1, 1970 UTC[^epoch] you
16+
But if you happen to know the number of milliseconds since January 1, 1970 0:00 UTC[^epoch], you
1717
can get an `Instant` which represents that point in time with `Instant.ofEpochMilli`.
1818

1919
```java

0 commit comments

Comments
 (0)