Skip to content

Commit

Permalink
back to mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludea committed Jul 18, 2024
1 parent 7941e74 commit 36892ce
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions diesel/src/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 228,9 @@ where
/// SecondValue,
/// }
///
/// impl<DB> ToSql<Integer, DB> for Post
/// where
/// DB: Backend,
/// {
/// fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, DB>) -> serialize::Result {
/// # #[cfg(feature = "mysql")]
/// impl<DB> ToSql<Integer, diesel::mysql::Mysql> for Post {
/// fn to_sql<'b>(&'b self, out: &mut Output<'b, '_, diesel::mysql::Mysql>) -> serialize::Result {
/// match *self {
/// Post::FirstValue => out.write_all(b"one")?,
/// Post::SecondValue => out.write_all(b"two")?,
Expand Down

0 comments on commit 36892ce

Please sign in to comment.