Skip to content

Commit

Permalink
Fix a warning in nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
zbraniecki committed Jul 26, 2019
1 parent faf5b90 commit b72fbc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_pluralrules/src/parser/resource.rs
Expand Up @@ -30,7 +30,7 @@ pub struct Supplemental {
}

/// Will parse a CLDR compliant source from a &str.
pub fn parse_plurals_resource_from_string(body: &str) -> Result<Resource, Box<Error>> {
pub fn parse_plurals_resource_from_string(body: &str) -> Result<Resource, Box<dyn Error>> {
let u = serde_json::from_str(body)?;
Ok(u)
}

0 comments on commit b72fbc8

Please sign in to comment.