Skip to content

Commit bf8c139

Browse files
authored
Fix typo in 'The Borrow Checker'
'luckliy' -> 'luckily'
1 parent 270fccd commit bf8c139

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)