Skip to content

Commit 8cdad44

Browse files
authored
docs: add some missing backticks (#3749)
* add ending backticks to starting backticks that were missing them * fix table alignment
1 parent b859914 commit 8cdad44

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

sqlx-mysql/src/testing/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl TestSupport for MySql {
3030
Box::pin(async move {
3131
let mut conn = MASTER_POOL
3232
.get()
33-
.expect("cleanup_test() invoked outside `#[sqlx::test]")
33+
.expect("cleanup_test() invoked outside `#[sqlx::test]`")
3434
.acquire()
3535
.await?;
3636

sqlx-postgres/src/testing/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl TestSupport for Postgres {
3030
Box::pin(async move {
3131
let mut conn = MASTER_POOL
3232
.get()
33-
.expect("cleanup_test() invoked outside `#[sqlx::test]")
33+
.expect("cleanup_test() invoked outside `#[sqlx::test]`")
3434
.acquire()
3535
.await?;
3636

sqlx-postgres/src/types/cube.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const IS_POINT_FLAG: u32 = 1 << 31;
2020
#[derive(Debug, Clone, PartialEq)]
2121
pub enum PgCube {
2222
/// A one-dimensional point.
23-
// FIXME: `Point1D(f64)
23+
// FIXME: `Point1D(f64)`
2424
Point(f64),
2525
/// An N-dimensional point ("represented internally as a zero-volume cube").
2626
// FIXME: `PointND(f64)`
@@ -32,7 +32,7 @@ pub enum PgCube {
3232

3333
// FIXME: add `Cube3D { lower_left: [f64; 3], upper_right: [f64; 3] }`?
3434
/// An N-dimensional cube with points representing lower-left and upper-right corners, respectively.
35-
// FIXME: CubeND { lower_left: Vec<f64>, upper_right: Vec<f64> }`
35+
// FIXME: `CubeND { lower_left: Vec<f64>, upper_right: Vec<f64> }`
3636
MultiDimension(Vec<Vec<f64>>),
3737
}
3838

sqlx-postgres/src/types/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
//! | [`PgLQuery`] | LQUERY |
2222
//! | [`PgCiText`] | CITEXT<sup>1</sup> |
2323
//! | [`PgCube`] | CUBE |
24-
//! | [`PgPoint] | POINT |
25-
//! | [`PgLine] | LINE |
26-
//! | [`PgLSeg] | LSEG |
27-
//! | [`PgBox] | BOX |
24+
//! | [`PgPoint`] | POINT |
25+
//! | [`PgLine`] | LINE |
26+
//! | [`PgLSeg`] | LSEG |
27+
//! | [`PgBox`] | BOX |
2828
//! | [`PgHstore`] | HSTORE |
2929
//!
3030
//! <sup>1</sup> SQLx generally considers `CITEXT` to be compatible with `String`, `&str`, etc.,

0 commit comments

Comments
 (0)