Skip to content

Commit 91a820f

Browse files
committed
Fix typos
1 parent 1159c14 commit 91a820f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Sources/EmbeddedSwift/Documentation.docc/CompilerDetails/ABI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The layout of Embedded Swift's class metadata is *different* from full Swift:
3030
- The **destructor pointer** is stored at **offset 1**. This function is invoked by Swift's deallocator when the class instance is destroyed.
3131
- The **ivar destroyer** is stored at **offset 2**. This function is invoked to destroy instance members when creation of the object is cancelled (e.g. in a failable initializer).
3232
- Lastly, the **vtable** is stored at **offset 3**: For each Swift class in the class's inheritance hierarchy, in order starting
33-
from the root class and working down to the most derived class, the function pointers to the implementation of every method of the class in declaration order in stored.
33+
from the root class and working down to the most derived class, the function pointers to the implementation of every method of the class in declaration order is stored.
3434

3535
### Witness Tables ABI
3636

Sources/EmbeddedSwift/Documentation.docc/GettingStarted/Introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ It's also a good mental model to think of the Swift compiler in Embedded Swift m
2222
This results in properties that are a great fit for embedded software development:
2323

2424
- **Small binaries** that can be as tiny as a few hundred bytes for "Hello World"-like programs (fully self-contained).
25-
- **No hidden runtime costs** – Embedded Swift's runtime library does not manage any data structures behind your back, is itself less than a kilobyte in size, and it eligible to be removed if unused.
25+
- **No hidden runtime costs** – Embedded Swift's runtime library does not manage any data structures behind your back, is itself less than a kilobyte in size, and is eligible to be removed if unused.
2626
- **No hidden allocations** which would cause unpredictable performance cliffs.
2727
- **Full C/C++ interoperability** to directly interact with existing C libraries and hardware-specific code, making it easy to integrate with vendor SDKs.
2828
- **Modern language features** like optionals, generics, and strong type safety are all available in Embedded Swift.

Sources/EmbeddedSwift/Documentation.docc/GuidedExamples/PicoGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ bin/ libexec/
4949
## Building a "blinky" embedded app
5050

5151
The standard "Hello, World" in embedded development is a program that repeatedly blinks an LED. Let's build one. The following setup can be also found in [swift-embedded-examples](https://github.com/apple/swift-embedded-examples/blob/main/pico-blink-sdk/README.md), but we're going to show below that all you need is just three files.
52-
Let's create a new empty directory and prepare a simple structure for a CMake-based project that can be used on top the Pico SDK:
52+
Let's create a new empty directory and prepare a simple structure for a CMake-based project that can be used on top of the Pico SDK:
5353

5454
```
5555
embedded-swift-tutorial

0 commit comments

Comments
 (0)