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

Introduce #[css(skip_if)] #20236

Merged
merged 7 commits into from Mar 8, 2018

style: Remove useless String::to_string call.

  • Loading branch information
emilio committed Mar 8, 2018
commit ada45f4968eea2efa12929fd3a03cc930e8f2583
@@ -79,7 +79,6 @@ fn derive_variant_arm(

let mut expr = if let Some(keyword) = variant_attrs.keyword {
assert!(bindings.is_empty());
let keyword = keyword.to_string();
quote! {
::std::fmt::Write::write_str(dest, #keyword)
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.