mirror of
https://github.com/servo/servo.git
synced 2025-06-18 22:34:30 +01:00
Upgrade Rust.
This commit is contained in:
parent
2ae671b5aa
commit
629c4c6afe
148 changed files with 992 additions and 967 deletions
|
@ -13,7 +13,7 @@ pub fn one_component_value<'a>(input: &'a [ComponentValue]) -> Option<&'a Compon
|
|||
}
|
||||
|
||||
|
||||
pub fn get_ident_lower(component_value: &ComponentValue) -> Option<~str> {
|
||||
pub fn get_ident_lower(component_value: &ComponentValue) -> Option<String> {
|
||||
match component_value {
|
||||
&Ident(ref value) => Some(value.as_slice().to_ascii_lower()),
|
||||
_ => None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue