Skip to content

Commit

Permalink
server: Disable doctests that don't actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-jplatte committed Mar 11, 2024
1 parent 6ac33d8 commit 0caadd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion server/svix-server_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn derive_model_out(input: proc_macro::TokenStream) -> proc_macro::TokenStre
/// ID, summary and description.
///
/// # Example
/// ```
/// ```ignore
/// /// This is foo!
/// #[aide_annotate]
/// fn foo() {
Expand Down

0 comments on commit 0caadd4

Please sign in to comment.