mirror of
https://github.com/isar/rusqlite.git
synced 2025-01-20 00:50:50 +08:00
Rustfmt
This commit is contained in:
parent
0f8d1aadc7
commit
697a333887
12
src/lib.rs
12
src/lib.rs
@ -1162,13 +1162,21 @@ mod test {
|
|||||||
// this function is never called, but is still type checked; in
|
// this function is never called, but is still type checked; in
|
||||||
// particular, calls with specific instantiations will require
|
// particular, calls with specific instantiations will require
|
||||||
// that those types are `Send`.
|
// that those types are `Send`.
|
||||||
#[allow(dead_code, unconditional_recursion,clippy::extra_unused_type_parameters)]
|
#[allow(
|
||||||
|
dead_code,
|
||||||
|
unconditional_recursion,
|
||||||
|
clippy::extra_unused_type_parameters
|
||||||
|
)]
|
||||||
fn ensure_send<T: Send>() {
|
fn ensure_send<T: Send>() {
|
||||||
ensure_send::<Connection>();
|
ensure_send::<Connection>();
|
||||||
ensure_send::<InterruptHandle>();
|
ensure_send::<InterruptHandle>();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code, unconditional_recursion,clippy::extra_unused_type_parameters)]
|
#[allow(
|
||||||
|
dead_code,
|
||||||
|
unconditional_recursion,
|
||||||
|
clippy::extra_unused_type_parameters
|
||||||
|
)]
|
||||||
fn ensure_sync<T: Sync>() {
|
fn ensure_sync<T: Sync>() {
|
||||||
ensure_sync::<InterruptHandle>();
|
ensure_sync::<InterruptHandle>();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user