File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1268,7 +1268,7 @@ impl Connection {
12681268
12691269 /// Like `prepare`, but allows for the types of query parameters to be explicitly specified.
12701270 ///
1271- /// Postgres will normally infer the types of paramters , but this function offers more control
1271+ /// Postgres will normally infer the types of parameters , but this function offers more control
12721272 /// of that behavior. `None` will cause Postgres to infer the type. The list of types can be
12731273 /// shorter than the number of parameters in the query; it will act as if padded out with `None`
12741274 /// values.
@@ -1383,7 +1383,7 @@ impl Connection {
13831383 /// statements, it's not possible to pass a separate parameters list with
13841384 /// this API.
13851385 ///
1386- /// In general, the `query` API should be prefered whenever possible.
1386+ /// In general, the `query` API should be preferred whenever possible.
13871387 ///
13881388 /// # Example
13891389 ///
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ impl<'conn> Transaction<'conn> {
316316 self . finish ( )
317317 }
318318
319- /// Consumes the transaction, commiting or rolling it back as appropriate.
319+ /// Consumes the transaction, committing or rolling it back as appropriate.
320320 ///
321321 /// Functionally equivalent to the `Drop` implementation of `Transaction`
322322 /// except that it returns any error to the caller.
You can’t perform that action at this time.
0 commit comments