Skip to content

Commit

Permalink
Fix typos (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
regexident authored Dec 31, 2021
1 parent 5c3bc9d commit 077c0cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/RenderersGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public protocol Renderer: AnyObject {
// ...
// Functions unrelated to this feature skipped for brevity.

/** Returns a body of a given pritimive view, or `nil` if `view` is not a primitive view for
/** Returns a body of a given primitive view, or `nil` if `view` is not a primitive view for
this renderer.
*/
func primitiveBody(for view: Any) -> AnyView?
Expand Down Expand Up @@ -372,7 +372,7 @@ struct HTML: View, AnyHTML {

Here we define an `HTML` view to have a body type of `Never`, like other primitive `Views`. It also
conforms to `AnyHTML`, which allows our `Renderer` to access the attributes of the `HTML` without
worrying about the `associatedtypes` involved with `View`.
worrying about the `associatedtype`s involved with `View`.

### `HTMLPrimitive`

Expand Down

0 comments on commit 077c0cd

Please sign in to comment.