Skip to content

Commit 5b292cb

Browse files
committed
Merge pull request #52 from metajack/rustup-20140624
Upgrade to latest Rust.
2 parents 7a1ef29 + e6cb2af commit 5b292cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serializer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ pub fn serialize_identifier(value: &str, css: &mut String) {
129129
#[inline]
130130
fn serialize_char(c: char, css: &mut String, is_identifier_start: bool) {
131131
match c {
132-
'0'..'9' if is_identifier_start => css.push_str(format!("\\\\3{} ", c).as_slice()),
132+
'0'..'9' if is_identifier_start => css.push_str(format!("\\3{} ", c).as_slice()),
133133
'-' if is_identifier_start => css.push_str("\\-"),
134134
'0'..'9' | 'A'..'Z' | 'a'..'z' | '_' | '-' => css.push_char(c),
135135
_ if c > '\x7F' => css.push_char(c),

0 commit comments

Comments
 (0)