Skip to content

Commit

Permalink
server: Don't compile jsonschema_for_repr_enum doctest
Browse files Browse the repository at this point in the history
It's not a public macro, so can't be tested via doctest.
  • Loading branch information
svix-jplatte committed Mar 11, 2024
1 parent 6ac33d8 commit 97d83ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/svix-server/src/core/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ macro_rules! repr_enum {
/// 3. The string description to be used in the docs.
/// Remaining arguments must be the variants in order. For example:
///
/// ```
/// ```ignore
/// #[derive(IntoPrimitive)]
/// #[repr(u8)]
/// enum MyEnum {
Expand All @@ -1243,7 +1243,7 @@ macro_rules! repr_enum {
/// Qux = 5,
/// }
///
/// jsonschema_for_repr_enum{
/// jsonschema_for_repr_enum! {
/// MyEnum,
/// u8,
/// "My nice little enum",
Expand Down

0 comments on commit 97d83ca

Please sign in to comment.