Remove unnecessary sigils around Symbol::as_str() calls.
This commit is contained in:
@@ -171,7 +171,7 @@ fn get_features(
|
||||
}
|
||||
|
||||
if let Some(allowed) = sess.opts.debugging_opts.allow_features.as_ref() {
|
||||
if allowed.iter().all(|f| name.as_str() != *f) {
|
||||
if allowed.iter().all(|f| name.as_str() != f) {
|
||||
struct_span_err!(
|
||||
span_handler,
|
||||
mi.span(),
|
||||
|
||||
Reference in New Issue
Block a user