Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/local_infile_handler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub mod builtin;
/// # #[tokio::main]
/// # async fn main() -> Result<()> {
/// #
/// /// This example hanlder will return contained bytes in response to a local infile request.
/// /// This example handler will return contained bytes in response to a local infile request.
/// struct ExampleHandler(&'static [u8]);
///
/// impl LocalInfileHandler for ExampleHandler {
Expand Down
2 changes: 1 addition & 1 deletion src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl<Q: AsRef<str> + Send + Sync> Query for Q {
}
}

/// Representaion of a prepared statement query.
/// Representation of a prepared statement query.
///
/// See `BinQuery` for details.
#[derive(Debug, Clone, PartialEq, Eq)]
Expand Down
2 changes: 1 addition & 1 deletion src/queryable/query_result/result_set_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ where
/// ## Consumption
///
/// The call to [`QueryResult::stream`] entails the consumption of the current result set,
/// practicly this means that the second call to [`QueryResult::stream`] will return
/// practically this means that the second call to [`QueryResult::stream`] will return
/// the next result set stream even if the stream returned from the first call wasn't
/// explicitly consumed:
///
Expand Down
2 changes: 1 addition & 1 deletion src/queryable/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl Statement {
self.inner.columns()
}

/// Requred parameters.
/// Required parameters.
pub fn params(&self) -> &[Column] {
self.inner.params()
}
Expand Down
2 changes: 1 addition & 1 deletion src/queryable/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl fmt::Display for IsolationLevel {
/// `Transaction` is just a sugar for `START TRANSACTION`, `ROLLBACK` and `COMMIT` queries,
/// so please note, that it is easy to mess things up calling this queries manually.
///
/// You should alwasy call either `commit` or `rollback`, otherwise transaction will be rolled
/// You should always call either `commit` or `rollback`, otherwise transaction will be rolled
/// back implicitly when corresponding connection is dropped or queried.
#[derive(Debug)]
pub struct Transaction<'a>(pub(crate) Connection<'a, 'static>);
Expand Down