aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/casing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/plugins/casing.rs')
-rw-r--r--components/plugins/casing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/plugins/casing.rs b/components/plugins/casing.rs
index 374290f3cbb..b7b002b21a4 100644
--- a/components/plugins/casing.rs
+++ b/components/plugins/casing.rs
@@ -47,7 +47,7 @@ fn expand_cased<'cx, T>(cx: &'cx mut ExtCtxt, sp: Span, tts: &[ast::TokenTree],
};
match (res, it.count()) {
(Some((s, span)), 0) => {
- let new_s = s.get().chars().map(transform).collect::<String>();
+ let new_s = s.chars().map(transform).collect::<String>();
base::MacExpr::new(cx.expr_str(span, token::intern_and_get_ident(new_s.as_slice())))
}
(_, rest) => {