mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 09:09:19 +08:00
Fix non-autolinks warnings
This commit is contained in:
parent
9ae66e363e
commit
0649df96ea
@ -167,7 +167,7 @@ impl Context<'_> {
|
|||||||
/// parameter. This is intended to be an easier-to-use way of fetching it
|
/// parameter. This is intended to be an easier-to-use way of fetching it
|
||||||
/// compared to calling `get_aux` and `set_aux` separately.
|
/// compared to calling `get_aux` and `set_aux` separately.
|
||||||
///
|
///
|
||||||
/// See https://www.sqlite.org/c3ref/get_auxdata.html for a discussion of
|
/// See `https://www.sqlite.org/c3ref/get_auxdata.html` for a discussion of
|
||||||
/// this feature, or the unit tests of this module for an example.
|
/// this feature, or the unit tests of this module for an example.
|
||||||
pub fn get_or_create_aux<T, E, F>(&self, arg: c_int, func: F) -> Result<Arc<T>>
|
pub fn get_or_create_aux<T, E, F>(&self, arg: c_int, func: F) -> Result<Arc<T>>
|
||||||
where
|
where
|
||||||
@ -187,7 +187,7 @@ impl Context<'_> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Sets the auxilliary data associated with a particular parameter. See
|
/// Sets the auxilliary data associated with a particular parameter. See
|
||||||
/// https://www.sqlite.org/c3ref/get_auxdata.html for a discussion of
|
/// `https://www.sqlite.org/c3ref/get_auxdata.html` for a discussion of
|
||||||
/// this feature, or the unit tests of this module for an example.
|
/// this feature, or the unit tests of this module for an example.
|
||||||
pub fn set_aux<T: Send + Sync + 'static>(&self, arg: c_int, value: T) -> Result<Arc<T>> {
|
pub fn set_aux<T: Send + Sync + 'static>(&self, arg: c_int, value: T) -> Result<Arc<T>> {
|
||||||
let orig: Arc<T> = Arc::new(value);
|
let orig: Arc<T> = Arc::new(value);
|
||||||
@ -380,7 +380,7 @@ impl Connection {
|
|||||||
/// `feature = "window"` Attach a user-defined aggregate window function to
|
/// `feature = "window"` Attach a user-defined aggregate window function to
|
||||||
/// this database connection.
|
/// this database connection.
|
||||||
///
|
///
|
||||||
/// See https://sqlite.org/windowfunctions.html#udfwinfunc for more
|
/// See `https://sqlite.org/windowfunctions.html#udfwinfunc` for more
|
||||||
/// information.
|
/// information.
|
||||||
#[cfg(feature = "window")]
|
#[cfg(feature = "window")]
|
||||||
#[inline]
|
#[inline]
|
||||||
|
@ -908,7 +908,7 @@ impl Statement<'_> {
|
|||||||
|
|
||||||
/// Prepared statement status counters.
|
/// Prepared statement status counters.
|
||||||
///
|
///
|
||||||
/// See https://www.sqlite.org/c3ref/c_stmtstatus_counter.html
|
/// See `https://www.sqlite.org/c3ref/c_stmtstatus_counter.html`
|
||||||
/// for explanations of each.
|
/// for explanations of each.
|
||||||
///
|
///
|
||||||
/// Note that depending on your version of SQLite, all of these
|
/// Note that depending on your version of SQLite, all of these
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
//! define.
|
//! define.
|
||||||
//!
|
//!
|
||||||
//! Port of [carray](http://www.sqlite.org/cgi/src/finfo?name=ext/misc/carray.c)
|
//! Port of [carray](http://www.sqlite.org/cgi/src/finfo?name=ext/misc/carray.c)
|
||||||
//! C extension: https://www.sqlite.org/carray.html
|
//! C extension: `https://www.sqlite.org/carray.html`
|
||||||
//!
|
//!
|
||||||
//! # Example
|
//! # Example
|
||||||
//!
|
//!
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//! `feature = "csvtab"` CSV Virtual Table.
|
//! `feature = "csvtab"` CSV Virtual Table.
|
||||||
//!
|
//!
|
||||||
//! Port of [csv](http://www.sqlite.org/cgi/src/finfo?name=ext/misc/csv.c) C
|
//! Port of [csv](http://www.sqlite.org/cgi/src/finfo?name=ext/misc/csv.c) C
|
||||||
//! extension: https://www.sqlite.org/csv.html
|
//! extension: `https://www.sqlite.org/csv.html`
|
||||||
//!
|
//!
|
||||||
//! # Example
|
//! # Example
|
||||||
//!
|
//!
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//!
|
//!
|
||||||
//! Port of C [generate series
|
//! Port of C [generate series
|
||||||
//! "function"](http://www.sqlite.org/cgi/src/finfo?name=ext/misc/series.c):
|
//! "function"](http://www.sqlite.org/cgi/src/finfo?name=ext/misc/series.c):
|
||||||
//! https://www.sqlite.org/series.html
|
//! `https://www.sqlite.org/series.html`
|
||||||
use std::default::Default;
|
use std::default::Default;
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
use std::os::raw::c_int;
|
use std::os::raw::c_int;
|
||||||
|
Loading…
Reference in New Issue
Block a user