Skip to content

Commit 1549ffb

Browse files
committed
Fix typo/example
1 parent 31ca837 commit 1549ffb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Files are how you store information
44
on a[^normal] computer so that it can still be there when your program
55
is done running.
66

7-
As such, read files and writing files are tasks you will often want to do.
7+
As such, reading files and writing files are tasks you will often want to do.
88

99
[^normal]: *normal

src/integers_ii/base_16_integer_literals.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ deals with colors in RGB - Red, Green, Blue - format. `0xFFFFFF` is white, `0xFF
3333

3434

3535
[^everything]: Okay to be real with you, every number system is a base 10 system.
36-
Even if what you call "10" is what we would call "sixteen", you always wrap around your base when you write "10." If that doesn't make sense it doesn't matter, but its fascinating to me.
36+
Even if what you call "10" is what we would call "sixteen", you always wrap around your base when you write "10." If that doesn't make sense it doesn't matter, but it's fascinating to me.

src/objects/equals_and_hashCode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ class Main {
6363
String c = "bca";
6464

6565
IO.println(a.hashCode());
66-
// a.equals(b) will return true, so they will have the same hash code
66+
// a.equals(b) will return true, so they may or may not have the same hash code
6767
IO.println(b.hashCode());
68-
// a.equals(c) will return false, so they may or may not have the same hash code
68+
// a.equals(c) will return false, so it's assumed they have a different hash code
6969
IO.println(c.hashCode());
7070

7171
Thing t1 = new Thing();

0 commit comments

Comments
 (0)