Clean examples

Remove `extern crate` usages.
Rustfmt.
This commit is contained in:
gwenn
2019-01-30 20:14:46 +01:00
parent dbc48fcde9
commit 0a46a34e3d
5 changed files with 6 additions and 24 deletions

View File

@@ -112,8 +112,8 @@ impl<'conn> Statement<'conn> {
/// }
/// ```
///
/// Note, the `named_params` macro is provided for syntactic convenience, and
/// so the above example could also be written as:
/// Note, the `named_params` macro is provided for syntactic convenience,
/// and so the above example could also be written as:
///
/// ```rust,no_run
/// # use rusqlite::{Connection, Result, named_params};
@@ -216,8 +216,8 @@ impl<'conn> Statement<'conn> {
/// }
/// ```
///
/// Note, the `named_params!` macro is provided for syntactic convenience, and
/// so the above example could also be written as:
/// Note, the `named_params!` macro is provided for syntactic convenience,
/// and so the above example could also be written as:
///
/// ```rust,no_run
/// # use rusqlite::{Connection, Result, named_params};