mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +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 {
|
||||
let mut conn = MASTER_POOL
|
||||
.get()
|
||||
.expect("cleanup_test() invoked outside `#[sqlx::test]")
|
||||
.expect("cleanup_test() invoked outside `#[sqlx::test]`")
|
||||
.acquire()
|
||||
.await?;
|
||||
|
||||
|
@ -30,7 +30,7 @@ impl TestSupport for Postgres {
|
||||
Box::pin(async move {
|
||||
let mut conn = MASTER_POOL
|
||||
.get()
|
||||
.expect("cleanup_test() invoked outside `#[sqlx::test]")
|
||||
.expect("cleanup_test() invoked outside `#[sqlx::test]`")
|
||||
.acquire()
|
||||
.await?;
|
||||
|
||||
|
@ -20,7 +20,7 @@ const IS_POINT_FLAG: u32 = 1 << 31;
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum PgCube {
|
||||
/// A one-dimensional point.
|
||||
// FIXME: `Point1D(f64)
|
||||
// FIXME: `Point1D(f64)`
|
||||
Point(f64),
|
||||
/// An N-dimensional point ("represented internally as a zero-volume cube").
|
||||
// FIXME: `PointND(f64)`
|
||||
@ -32,7 +32,7 @@ pub enum PgCube {
|
||||
|
||||
// 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.
|
||||
// FIXME: CubeND { lower_left: Vec<f64>, upper_right: Vec<f64> }`
|
||||
// FIXME: `CubeND { lower_left: Vec<f64>, upper_right: Vec<f64> }`
|
||||
MultiDimension(Vec<Vec<f64>>),
|
||||
}
|
||||
|
||||
|
@ -21,10 +21,10 @@
|
||||
//! | [`PgLQuery`] | LQUERY |
|
||||
//! | [`PgCiText`] | CITEXT<sup>1</sup> |
|
||||
//! | [`PgCube`] | CUBE |
|
||||
//! | [`PgPoint] | POINT |
|
||||
//! | [`PgLine] | LINE |
|
||||
//! | [`PgLSeg] | LSEG |
|
||||
//! | [`PgBox] | BOX |
|
||||
//! | [`PgPoint`] | POINT |
|
||||
//! | [`PgLine`] | LINE |
|
||||
//! | [`PgLSeg`] | LSEG |
|
||||
//! | [`PgBox`] | BOX |
|
||||
//! | [`PgHstore`] | HSTORE |
|
||||
//!
|
||||
//! <sup>1</sup> SQLx generally considers `CITEXT` to be compatible with `String`, `&str`, etc.,
|
||||
|
Loading…
x
Reference in New Issue
Block a user