Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stylo: Use atoms as the pseudo-element back-end. #12815

Merged
merged 12 commits into from Aug 16, 2016

stylo: privatize Atom::chars()

  • Loading branch information
emilio committed Aug 16, 2016
commit 24168f87eba1b11dd87e5ddb34769d1e099f6000
@@ -102,7 +102,8 @@ impl WeakAtom {
}
}

pub fn chars(&self) -> DecodeUtf16<Cloned<slice::Iter<u16>>> {
// NOTE: don't expose this, since it's slow, and easy to be misused.
fn chars(&self) -> DecodeUtf16<Cloned<slice::Iter<u16>>> {
char::decode_utf16(self.as_slice().iter().cloned())
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.