diff --git a/src/statement.rs b/src/statement.rs index 4591e85..c7b2f52 100644 --- a/src/statement.rs +++ b/src/statement.rs @@ -438,7 +438,8 @@ impl Statement<'_> { /// /// Returns `Err(QueryReturnedNoRows)` if no results are returned. If the /// query truly is optional, you can call `.optional()` on the result of - /// this to get a `Result>`. + /// this to get a `Result>` (requires that the trait `rusqlite::OptionalExtension` + /// is imported). /// /// # Failure /// @@ -464,7 +465,8 @@ impl Statement<'_> { /// /// Returns `Err(QueryReturnedNoRows)` if no results are returned. If the /// query truly is optional, you can call `.optional()` on the result of - /// this to get a `Result>`. + /// this to get a `Result>` (requires that the trait `rusqlite::OptionalExtension` + /// is imported). /// /// # Failure ///