Skip to content

Commit

Permalink
docs: remove output comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy-lmao committed Sep 3, 2024
1 parent 95ec809 commit 24486e2
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion sqlx-postgres/src/types/geometry/box.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const ERROR: &str = "error decoding BOX";
/// x1 , y1 , x2 , y2
/// ```
/// where `(x1,y1) and (x2,y2)` are any two opposite corners of the box.
/// Boxes are output using the second syntax.
/// Any two opposite corners can be supplied on input, but the values will be reordered as needed to store the upper right and lower left corners, in that order.
///
/// See https://www.postgresql.org/docs/16/datatype-geometric.html#DATATYPE-GEOMETRIC-BOXES
Expand Down
2 changes: 0 additions & 2 deletions sqlx-postgres/src/types/geometry/circle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const ERROR: &str = "error decoding CIRCLE";
/// ```
/// where `(x,y)` is the center point and r is the radius of the circle.
///
/// Circles are output using the first syntax.
///
/// See https://www.postgresql.org/docs/16/datatype-geometric.html#DATATYPE-CIRCLE
#[derive(Debug, Clone, PartialEq)]
pub struct PgCircle {
Expand Down
2 changes: 1 addition & 1 deletion sqlx-postgres/src/types/geometry/line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ERROR: &str = "error decoding LINE";
/// Description: Infinite line
/// Representation: `{A, B, C}`
///
/// Lines are represented by the linear equation Ax + By + C = 0, where A and B are not both zero. Values of type line are input and output in the following form:
/// Lines are represented by the linear equation Ax + By + C = 0, where A and B are not both zero.
///
/// See https://www.postgresql.org/docs/16/datatype-geometric.html#DATATYPE-LINE
#[derive(Debug, Clone, PartialEq)]
Expand Down
3 changes: 0 additions & 3 deletions sqlx-postgres/src/types/geometry/line_segment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ const ERROR: &str = "error decoding LSEG";
/// ```
/// where `(x1,y1) and (x2,y2)` are the end points of the line segment.
///
/// Line segments are output using the first syntax.
///
///
/// See https://www.postgresql.org/docs/16/datatype-geometric.html#DATATYPE-LSEG
#[derive(Debug, Clone, PartialEq)]
pub struct PgLSeg {
Expand Down
2 changes: 0 additions & 2 deletions sqlx-postgres/src/types/geometry/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ const BYTE_WIDTH: usize = 8;
/// where the points are the end points of the line segments comprising the path. Square brackets `([])` indicate an open path, while parentheses `(())` indicate a closed path.
/// When the outermost parentheses are omitted, as in the third through fifth syntaxes, a closed path is assumed.
///
/// Paths are output using the first or second syntax, as appropriate.
///
/// See https://www.postgresql.org/docs/16/datatype-geometric.html#DATATYPE-GEOMETRIC-PATHS
#[derive(Debug, Clone, PartialEq)]
pub struct PgPath {
Expand Down
1 change: 0 additions & 1 deletion sqlx-postgres/src/types/geometry/polygon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const BYTE_WIDTH: usize = mem::size_of::<f64>();
/// ```
///
/// where the points are the end points of the line segments comprising the boundary of the polygon.
/// Polygons are output using the first syntax.
///
/// Seeh ttps://www.postgresql.org/docs/16/datatype-geometric.html#DATATYPE-POLYGON
#[derive(Debug, Clone, PartialEq)]
Expand Down

0 comments on commit 24486e2

Please sign in to comment.