'restricts' -> 'restrictions'

This commit is contained in:
Toby Murray 2021-09-22 23:44:26 -04:00 committed by Thom Chiovoloni
parent b612c6d727
commit 8a88ba647c

View File

@ -135,8 +135,8 @@ impl Statement<'_> {
/// Execute the prepared statement, returning a handle to the resulting
/// rows.
///
/// Due to lifetime restricts, the rows handle returned by `query` does not
/// implement the `Iterator` trait. Consider using
/// Due to lifetime restrictions, the rows handle returned by `query` does
/// not implement the `Iterator` trait. Consider using
/// [`query_map`](Statement::query_map) or
/// [`query_and_then`](Statement::query_and_then) instead, which do.
///