docs: add some missing backticks (#3749)

* add ending backticks to starting backticks that were missing them

* fix table alignment
This commit is contained in:
Sam Lyon 2025-02-19 18:23:45 -05:00 committed by GitHub
parent b859914153
commit 8cdad44366
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View File

@ -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?;

View File

@ -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?;

View File

@ -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>>),
} }

View File

@ -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.,