Swift doc typo fixes

This commit is contained in:
Emily Toop 2018-04-24 13:23:46 +01:00
parent 3bd90e4dc7
commit b83bec566a
4 changed files with 12 additions and 6 deletions

View file

@ -1,6 +1,12 @@
///* This Source Code Form is subject to the terms of the Mozilla Public
// * License, v. 2.0. If a copy of the MPL was not distributed with this
// * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Copyright 2018 Mozilla
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compliance with the License. You may obtain a copy of the
* License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License. */
import Foundation

View file

@ -15,7 +15,7 @@ import MentatStore
typealias Entid = Int64
/**
Protocol to be implemenented by any object that wishes to register for transaction observation
Protocol to be implemented by any object that wishes to register for transaction observation
*/
protocol Observing {
func transactionDidOccur(key: String, reports: [TxChange])

View file

@ -13,7 +13,7 @@ import MentatStore
/**
This class allows you to contruct a query, bind values to variables and run those queries against a mentat DB.
This class allows you to construct a query, bind values to variables and run those queries against a mentat DB.
This class cannot be created directly, but must be created through `Mentat.query(String:)`.

View file

@ -42,7 +42,7 @@ class TxReport: RustObject {
}
/**
Access an `Entid` for a temporary identifier that was provided in the transaction can be done through `entid(String:)`.
Access an `Entid` for a temporary identifier that was provided in the transaction.
- Parameter tempId: A `String` representing the temporary identifier to fetch the `Entid` for.