Skip to content

Commit

Permalink
fix: CI error on rust nightly version
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Sep 14, 2023
1 parent 32292c3 commit be27b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oapi/src/openapi/schema/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ pub enum KnownFormat {
/// Used with [`String`] values to indicate value is in decimal format.
///
/// **decimal** feature need to be enabled.
#[cfg(feature = "decimal")]
#[cfg_attr(doc_cfg, doc(cfg(feature = "decimal")))]
#[cfg(any(feature = "decimal", feature = "decimal-float"))]
#[cfg_attr(doc_cfg, doc(cfg(any(feature = "decimal", feature = "decimal-float"))))]
Decimal,
/// Used with [`String`] values to indicate value is in Url format.
///
Expand Down

0 comments on commit be27b1f

Please sign in to comment.