Skip to content

Commit

Permalink
More serde feature fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Jan 16, 2021
1 parent 647b173 commit 61b3094
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/plurals/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
//! # Examples
//!
//! ```
//! # #[cfg(feature = "serde")] {
//! use icu_locid_macros::langid;
//! use icu_plurals::{PluralRules, PluralRuleType, PluralCategory};
//!
Expand All @@ -34,6 +35,7 @@
//! .expect("Failed to construct a PluralRules struct.");
//!
//! assert_eq!(pr.select(5_usize), PluralCategory::Other);
//! # } // feature = "serde"
//! ```
//!
//! ## Plural Rules
Expand Down

0 comments on commit 61b3094

Please sign in to comment.