Skip to content

Commit 10edbcb

Browse files
authored
Update lib.rs
1 parent c5aef21 commit 10edbcb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

postgres-types/src/lib.rs

+5
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,11 @@
170170
//! ```
171171
//!
172172
//! ```rust
173+
//! # #[cfg(feature = "derive")]
174+
//! use postgres_types::{ToSql, FromSql};
175+
//!
176+
//! # #[cfg(feature = "derive")]
177+
//! #[derive(Debug, ToSql, FromSql)]
173178
//! #[postgres(allow_mismatch)]
174179
//! enum Mood {
175180
//! Happy,

0 commit comments

Comments
 (0)