From bf8c1394988f375d21bb2b90864ba233cc46ca00 Mon Sep 17 00:00:00 2001 From: Ryan Waskiewicz Date: Sun, 17 Oct 2021 12:46:37 -0400 Subject: [PATCH] Fix typo in 'The Borrow Checker' 'luckliy' -> 'luckily' --- src/peripherals/borrowck.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peripherals/borrowck.md b/src/peripherals/borrowck.md index d389fc7a..fb817b2d 100644 --- a/src/peripherals/borrowck.md +++ b/src/peripherals/borrowck.md @@ -16,4 +16,4 @@ The last two of these rules sound suspiciously similar to what the Borrow Checke Imagine if we could pass around ownership of these peripherals, or offer immutable or mutable references to them? -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? +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?