Skip to content

Commit 5173947

Browse files
Merge #305
305: Fix typo in 'The Borrow Checker' r=eldruin a=rwaskiewicz 'luckliy' -> 'luckily' Co-authored-by: Ryan Waskiewicz <ryanwaskiewicz@gmail.com>
2 parents 270fccd + bf8c139 commit 5173947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peripherals/borrowck.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ The last two of these rules sound suspiciously similar to what the Borrow Checke
1616

1717
Imagine if we could pass around ownership of these peripherals, or offer immutable or mutable references to them?
1818

19-
Well, we can, but for the Borrow Checker, we need to have exactly one instance of each peripheral, so Rust can handle this correctly. Well, luckliy in the hardware, there is only one instance of any given peripheral, but how can we expose that in the structure of our code?
19+
Well, we can, but for the Borrow Checker, we need to have exactly one instance of each peripheral, so Rust can handle this correctly. Well, luckily in the hardware, there is only one instance of any given peripheral, but how can we expose that in the structure of our code?

0 commit comments

Comments
 (0)