Merge pull request #1060 from gwenn/doc

Doc
This commit is contained in:
gwenn 2021-12-11 12:21:53 +01:00 committed by GitHub
commit 456c847bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -128,7 +128,7 @@ You can adjust this behavior in a number of ways:
* If you use the `bundled`, `bundled-sqlcipher`, or `bundled-sqlcipher-vendored-openssl` features, `libsqlite3-sys` will use the * If you use the `bundled`, `bundled-sqlcipher`, or `bundled-sqlcipher-vendored-openssl` features, `libsqlite3-sys` will use the
[cc](https://crates.io/crates/cc) crate to compile SQLite or SQLCipher from source and [cc](https://crates.io/crates/cc) crate to compile SQLite or SQLCipher from source and
link against that. This source is embedded in the `libsqlite3-sys` crate and link against that. This source is embedded in the `libsqlite3-sys` crate and
is currently SQLite 3.36.0 (as of `rusqlite` 0.26.0 / `libsqlite3-sys` is currently SQLite 3.37.0 (as of `rusqlite` 0.26.0 / `libsqlite3-sys`
0.23.0). This is probably the simplest solution to any build problems. You can enable this by adding the following in your `Cargo.toml` file: 0.23.0). This is probably the simplest solution to any build problems. You can enable this by adding the following in your `Cargo.toml` file:
```toml ```toml
[dependencies.rusqlite] [dependencies.rusqlite]

View File

@ -354,8 +354,6 @@ impl Connection {
/// Register a callback function to be invoked whenever /// Register a callback function to be invoked whenever
/// a transaction is committed. /// a transaction is committed.
///
/// The callback returns `true` to rollback.
#[inline] #[inline]
pub fn rollback_hook<F>(&self, hook: Option<F>) pub fn rollback_hook<F>(&self, hook: Option<F>)
where where