@@ -99,8 +99,8 @@ impl fmt::Display for IndexColumn {
9999#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
100100#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
101101pub enum ReplicaIdentity {
102- /// No replica identity (`REPLICA IDENTITY NONE `).
103- None ,
102+ /// No replica identity (`REPLICA IDENTITY NOTHING `).
103+ Nothing ,
104104 /// Full replica identity (`REPLICA IDENTITY FULL`).
105105 Full ,
106106 /// Default replica identity (`REPLICA IDENTITY DEFAULT`).
@@ -112,7 +112,7 @@ pub enum ReplicaIdentity {
112112impl fmt:: Display for ReplicaIdentity {
113113 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
114114 match self {
115- ReplicaIdentity :: None => f. write_str ( "NONE " ) ,
115+ ReplicaIdentity :: Nothing => f. write_str ( "NOTHING " ) ,
116116 ReplicaIdentity :: Full => f. write_str ( "FULL" ) ,
117117 ReplicaIdentity :: Default => f. write_str ( "DEFAULT" ) ,
118118 ReplicaIdentity :: Index ( idx) => write ! ( f, "USING INDEX {idx}" ) ,
@@ -1893,7 +1893,7 @@ pub enum ColumnOption {
18931893 /// [ MATCH { FULL | PARTIAL | SIMPLE } ]
18941894 /// { [ON DELETE <referential_action>] [ON UPDATE <referential_action>] |
18951895 /// [ON UPDATE <referential_action>] [ON DELETE <referential_action>]
1896- /// }
1896+ /// }
18971897 /// [<constraint_characteristics>]
18981898 /// `).
18991899 ForeignKey ( ForeignKeyConstraint ) ,
@@ -4345,7 +4345,7 @@ impl Spanned for CreateExtension {
43454345 }
43464346}
43474347
4348- /// DROP EXTENSION statement
4348+ /// DROP EXTENSION statement
43494349/// Note: this is a PostgreSQL-specific statement
43504350///
43514351/// # References
0 commit comments