mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-21 00:37:45 +08:00
Fix clippy warnings
doc_overindented_list_items
This commit is contained in:
parent
7e8b887bf4
commit
04e4c951ee
@ -33,7 +33,6 @@ use sealed::Sealed;
|
|||||||
///
|
///
|
||||||
/// - For small lists of parameters up to 16 items, they may alternatively be
|
/// - For small lists of parameters up to 16 items, they may alternatively be
|
||||||
/// passed as a tuple, as in `thing.query((1, "foo"))`.
|
/// passed as a tuple, as in `thing.query((1, "foo"))`.
|
||||||
///
|
|
||||||
/// This is somewhat inconvenient for a single item, since you need a
|
/// This is somewhat inconvenient for a single item, since you need a
|
||||||
/// weird-looking trailing comma: `thing.query(("example",))`. That case is
|
/// weird-looking trailing comma: `thing.query(("example",))`. That case is
|
||||||
/// perhaps more cleanly expressed as `thing.query(["example"])`.
|
/// perhaps more cleanly expressed as `thing.query(["example"])`.
|
||||||
@ -50,7 +49,6 @@ use sealed::Sealed;
|
|||||||
///
|
///
|
||||||
/// - a reference to an array of references, as in `thing.query(&["foo",
|
/// - a reference to an array of references, as in `thing.query(&["foo",
|
||||||
/// "bar", "baz"])` or `thing.query(&[&1i32, &2, &3])`.
|
/// "bar", "baz"])` or `thing.query(&[&1i32, &2, &3])`.
|
||||||
///
|
|
||||||
/// (Note: in this case we don't implement this for slices for coherence
|
/// (Note: in this case we don't implement this for slices for coherence
|
||||||
/// reasons, so it really is only for the "reference to array" types —
|
/// reasons, so it really is only for the "reference to array" types —
|
||||||
/// hence why the number of parameters must be <= 32, or you need to
|
/// hence why the number of parameters must be <= 32, or you need to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user