Skip to content

Commit

Permalink
Fixing no-std serialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhurt committed Sep 23, 2024
1 parent 3a6111a commit 763efbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valuable-serde/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ where
#[cfg(not(feature = "alloc"))]
{
// Can't serialize a renderable without allocating
Ok(S::Ok)
serializer.serialize_none()
}
}

Expand Down

0 comments on commit 763efbc

Please sign in to comment.