[][src]Function pluralize_rs::to_plural

pub fn to_plural(word: &str) -> String

Returns a noun's plural form, if it is uncountable, the origin value will be returned

Arguments

  • word - The noun

Examples

use pluralize_rs::to_plural;
assert_eq!(to_plural("word"), "words");