Skip to content

Commit

Permalink
Fixed spelling mistake in doc-comments
Browse files Browse the repository at this point in the history
I found a spelling-mistake in the doc comments where `Executes` is misspelled as `Exectues` of the following methods:

`exec_batch()`
`exec()`
`exec_first()`
`exec_map()`
`exec_fold()`
`exec_drop()`
  • Loading branch information
DK26 authored Aug 20, 2023
1 parent f3cdaa0 commit 421ad9d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/queryable/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ pub trait Queryable: Send {
async move { self.query_iter(query).await?.drop_result().await }.boxed()
}

/// Exectues the given statement for each item in the given params iterator.
/// Executes the given statement for each item in the given params iterator.
///
/// It'll prepare `stmt` (once), if necessary.
fn exec_batch<'a: 'b, 'b, S, P, I>(&'a mut self, stmt: S, params_iter: I) -> BoxFuture<'b, ()>
Expand All @@ -283,7 +283,7 @@ pub trait Queryable: Send {
I::IntoIter: Send,
P: Into<Params> + Send;

/// Exectues the given statement and collects the first result set.
/// Executes the given statement and collects the first result set.
///
/// It'll prepare `stmt`, if necessary.
///
Expand All @@ -307,7 +307,7 @@ pub trait Queryable: Send {
.boxed()
}

/// Exectues the given statement and returns the first row of the first result set.
/// Executes the given statement and returns the first row of the first result set.
///
/// It'll prepare `stmt`, if necessary.
///
Expand Down Expand Up @@ -335,7 +335,7 @@ pub trait Queryable: Send {
.boxed()
}

/// Exectues the given stmt and maps each row of the first result set.
/// Executes the given stmt and maps each row of the first result set.
///
/// It'll prepare `stmt`, if necessary.
///
Expand Down Expand Up @@ -367,7 +367,7 @@ pub trait Queryable: Send {
.boxed()
}

/// Exectues the given stmt and folds the first result set to a signel value.
/// Executes the given stmt and folds the first result set to a signel value.
///
/// It'll prepare `stmt`, if necessary.
///
Expand Down Expand Up @@ -399,7 +399,7 @@ pub trait Queryable: Send {
.boxed()
}

/// Exectues the given statement and drops the result.
/// Executes the given statement and drops the result.
fn exec_drop<'a: 'b, 'b, S, P>(&'a mut self, stmt: S, params: P) -> BoxFuture<'b, ()>
where
S: StatementLike + 'b,
Expand Down

0 comments on commit 421ad9d

Please sign in to comment.