From 433b7b6d901f08d20f3b0ab7db80bfa884d4e398 Mon Sep 17 00:00:00 2001 From: David Langley Date: Thu, 9 Sep 2021 10:31:41 +0100 Subject: [PATCH] Apply documentation suggestions from code review Co-authored-by: manuroe --- RiotSwiftUI/Modules/Common/Avatar/Model/Avatarable.swift | 4 ++-- .../Modules/Common/Test/XCTestPublisherExtensions.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/RiotSwiftUI/Modules/Common/Avatar/Model/Avatarable.swift b/RiotSwiftUI/Modules/Common/Avatar/Model/Avatarable.swift index 4f498f55a..173299a3b 100644 --- a/RiotSwiftUI/Modules/Common/Avatar/Model/Avatarable.swift +++ b/RiotSwiftUI/Modules/Common/Avatar/Model/Avatarable.swift @@ -17,9 +17,9 @@ import Foundation /** - A protcol that any class or struct can conform to + A protocol that any class or struct can conform to so that it can easiy produce avatar data. - E.g. MXRoom, MxUser cna conform to this making it + E.g. MXRoom, MxUser can conform to this making it easy to grab the avatar data for display. */ protocol Avatarable: AvatarInputProtocol { } diff --git a/RiotSwiftUI/Modules/Common/Test/XCTestPublisherExtensions.swift b/RiotSwiftUI/Modules/Common/Test/XCTestPublisherExtensions.swift index 68fb9ddc3..2eef28e36 100644 --- a/RiotSwiftUI/Modules/Common/Test/XCTestPublisherExtensions.swift +++ b/RiotSwiftUI/Modules/Common/Test/XCTestPublisherExtensions.swift @@ -18,7 +18,7 @@ import XCTest import Combine /** - XCTest utility to wat for results from publishers, so that the output can be used for assertions. + XCTest utility to wait for results from publishers, so that the output can be used for assertions. */ @available(iOS 14.0, *) extension XCTestCase {