@@ -86,7 +86,7 @@ impl<T> PropertyParser<T> {
8686 /// [📚 Help choosing a constructor](icu_provider::constructors)
8787 #[ cfg( feature = "compiled_data" ) ]
8888 #[ expect( clippy:: new_ret_no_self) ]
89- pub fn new ( ) -> PropertyParserBorrowed < ' static , T >
89+ pub const fn new ( ) -> PropertyParserBorrowed < ' static , T >
9090 where
9191 T : ParseableEnumeratedProperty ,
9292 {
@@ -255,7 +255,7 @@ impl<T: TrieValue> PropertyParserBorrowed<'static, T> {
255255 ///
256256 /// [📚 Help choosing a constructor](icu_provider::constructors)
257257 #[ cfg( feature = "compiled_data" ) ]
258- pub fn new ( ) -> Self
258+ pub const fn new ( ) -> Self
259259 where
260260 T : ParseableEnumeratedProperty ,
261261 {
@@ -383,7 +383,7 @@ impl<T: NamedEnumeratedProperty> PropertyNamesLong<T> {
383383 /// [📚 Help choosing a constructor](icu_provider::constructors)
384384 #[ cfg( feature = "compiled_data" ) ]
385385 #[ expect( clippy:: new_ret_no_self) ]
386- pub fn new ( ) -> PropertyNamesLongBorrowed < ' static , T > {
386+ pub const fn new ( ) -> PropertyNamesLongBorrowed < ' static , T > {
387387 PropertyNamesLongBorrowed :: new ( )
388388 }
389389
@@ -447,7 +447,7 @@ impl<T: NamedEnumeratedProperty> PropertyNamesLongBorrowed<'static, T> {
447447 ///
448448 /// [📚 Help choosing a constructor](icu_provider::constructors)
449449 #[ cfg( feature = "compiled_data" ) ]
450- pub fn new ( ) -> Self {
450+ pub const fn new ( ) -> Self {
451451 Self {
452452 map : T :: SINGLETON_LONG ,
453453 }
@@ -516,7 +516,7 @@ impl<T: NamedEnumeratedProperty> PropertyNamesShort<T> {
516516 /// [📚 Help choosing a constructor](icu_provider::constructors)
517517 #[ cfg( feature = "compiled_data" ) ]
518518 #[ expect( clippy:: new_ret_no_self) ]
519- pub fn new ( ) -> PropertyNamesShortBorrowed < ' static , T > {
519+ pub const fn new ( ) -> PropertyNamesShortBorrowed < ' static , T > {
520520 PropertyNamesShortBorrowed :: new ( )
521521 }
522522
@@ -620,7 +620,7 @@ impl<T: NamedEnumeratedProperty> PropertyNamesShortBorrowed<'static, T> {
620620 ///
621621 /// [📚 Help choosing a constructor](icu_provider::constructors)
622622 #[ cfg( feature = "compiled_data" ) ]
623- pub fn new ( ) -> Self {
623+ pub const fn new ( ) -> Self {
624624 Self {
625625 map : T :: SINGLETON_SHORT ,
626626 }
0 commit comments