Skip to content

Commit f9ea098

Browse files
committed
Make function generated by ascii_case_insensitive_phf_map public.
1 parent 789db77 commit f9ea098

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "cssparser"
4-
version = "0.12.3"
4+
version = "0.12.4"
55
authors = [ "Simon Sapin <simon.sapin@exyr.org>" ]
66

77
description = "Rust implementation of CSS Syntax Level 3"

src/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ macro_rules! ascii_case_insensitive_phf_map {
8282
ascii_case_insensitive_phf_map!($name -> $ValueType = { $( $key => $value, )* })
8383
};
8484
($name: ident -> $ValueType: ty = { $( $key: expr => $value: expr, )* }) => {
85-
fn $name(input: &str) -> Option<&'static $ValueType> {
85+
pub fn $name(input: &str) -> Option<&'static $ValueType> {
8686
cssparser_internal__invoke_proc_macro! {
8787
cssparser_internal__phf_map!( ($ValueType) $( $key ($value) )+ )
8888
}

0 commit comments

Comments
 (0)