Skip to content

Commit

Permalink
fix error in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Dec 2, 2022
1 parent 683155e commit ab87065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odbc-api/src/prepared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ where
/// used to create the statement.
///
/// ```
/// use odbc_api::{Connection, Error, ParameterDescription};
/// use odbc_api::{Connection, Error, handles::ParameterDescription};
///
/// fn param_descriptions<'e>(connection: Connection<'e>) -> Result<Vec<ParameterDescription>, Error>{
/// // Note the two `?` used as placeholders for the parameters.
/// let prepared = connection.prepare("INSERT INTO NationalDrink (country, drink) VALUES (?, ?)")?;
/// let mut prepared = connection.prepare("INSERT INTO NationalDrink (country, drink) VALUES (?, ?)")?;
///
/// let num_params = prepared.num_params()?;
/// assert_eq!(num_params, 2);
Expand Down

0 comments on commit ab87065

Please sign in to comment.