mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 23:35:20 +00:00
docs: add some missing backticks (#3749)
* add ending backticks to starting backticks that were missing them * fix table alignment
This commit is contained in:
parent
b859914153
commit
8cdad44366
@ -30,7 +30,7 @@ impl TestSupport for MySql {
|
|||||||
Box::pin(async move {
|
Box::pin(async move {
|
||||||
let mut conn = MASTER_POOL
|
let mut conn = MASTER_POOL
|
||||||
.get()
|
.get()
|
||||||
.expect("cleanup_test() invoked outside `#[sqlx::test]")
|
.expect("cleanup_test() invoked outside `#[sqlx::test]`")
|
||||||
.acquire()
|
.acquire()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ impl TestSupport for Postgres {
|
|||||||
Box::pin(async move {
|
Box::pin(async move {
|
||||||
let mut conn = MASTER_POOL
|
let mut conn = MASTER_POOL
|
||||||
.get()
|
.get()
|
||||||
.expect("cleanup_test() invoked outside `#[sqlx::test]")
|
.expect("cleanup_test() invoked outside `#[sqlx::test]`")
|
||||||
.acquire()
|
.acquire()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ const IS_POINT_FLAG: u32 = 1 << 31;
|
|||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub enum PgCube {
|
pub enum PgCube {
|
||||||
/// A one-dimensional point.
|
/// A one-dimensional point.
|
||||||
// FIXME: `Point1D(f64)
|
// FIXME: `Point1D(f64)`
|
||||||
Point(f64),
|
Point(f64),
|
||||||
/// An N-dimensional point ("represented internally as a zero-volume cube").
|
/// An N-dimensional point ("represented internally as a zero-volume cube").
|
||||||
// FIXME: `PointND(f64)`
|
// FIXME: `PointND(f64)`
|
||||||
@ -32,7 +32,7 @@ pub enum PgCube {
|
|||||||
|
|
||||||
// FIXME: add `Cube3D { lower_left: [f64; 3], upper_right: [f64; 3] }`?
|
// FIXME: add `Cube3D { lower_left: [f64; 3], upper_right: [f64; 3] }`?
|
||||||
/// An N-dimensional cube with points representing lower-left and upper-right corners, respectively.
|
/// An N-dimensional cube with points representing lower-left and upper-right corners, respectively.
|
||||||
// FIXME: CubeND { lower_left: Vec<f64>, upper_right: Vec<f64> }`
|
// FIXME: `CubeND { lower_left: Vec<f64>, upper_right: Vec<f64> }`
|
||||||
MultiDimension(Vec<Vec<f64>>),
|
MultiDimension(Vec<Vec<f64>>),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
//! | [`PgLQuery`] | LQUERY |
|
//! | [`PgLQuery`] | LQUERY |
|
||||||
//! | [`PgCiText`] | CITEXT<sup>1</sup> |
|
//! | [`PgCiText`] | CITEXT<sup>1</sup> |
|
||||||
//! | [`PgCube`] | CUBE |
|
//! | [`PgCube`] | CUBE |
|
||||||
//! | [`PgPoint] | POINT |
|
//! | [`PgPoint`] | POINT |
|
||||||
//! | [`PgLine] | LINE |
|
//! | [`PgLine`] | LINE |
|
||||||
//! | [`PgLSeg] | LSEG |
|
//! | [`PgLSeg`] | LSEG |
|
||||||
//! | [`PgBox] | BOX |
|
//! | [`PgBox`] | BOX |
|
||||||
//! | [`PgHstore`] | HSTORE |
|
//! | [`PgHstore`] | HSTORE |
|
||||||
//!
|
//!
|
||||||
//! <sup>1</sup> SQLx generally considers `CITEXT` to be compatible with `String`, `&str`, etc.,
|
//! <sup>1</sup> SQLx generally considers `CITEXT` to be compatible with `String`, `&str`, etc.,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user