mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Fix typo in comment.
This commit is contained in:
parent
a15d13a6ec
commit
58fd2956b3
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ fn where_predicate(ty: syn::Ty) -> syn::WherePredicate {
|
||||||
|
|
||||||
/// Transforms "FooBar" to "foo-bar".
|
/// Transforms "FooBar" to "foo-bar".
|
||||||
///
|
///
|
||||||
/// If the first Camel segment is "Moz"" or "Webkit", the result string
|
/// If the first Camel segment is "Moz" or "Webkit", the result string
|
||||||
/// is prepended with "-".
|
/// is prepended with "-".
|
||||||
fn to_css_identifier(mut camel_case: &str) -> String {
|
fn to_css_identifier(mut camel_case: &str) -> String {
|
||||||
camel_case = camel_case.trim_right_matches('_');
|
camel_case = camel_case.trim_right_matches('_');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue