Remove unneeded replace

This commit is contained in:
Guillaume Gomez 2020-09-17 00:20:14 +02:00
parent 84cb71c6fa
commit fe415ff412

View File

@ -695,7 +695,7 @@ impl Attributes {
self.other_attrs
.lists(sym::doc)
.filter(|a| a.has_name(sym::alias))
.filter_map(|a| a.value_str().map(|s| s.to_string().replace("\"", "")))
.filter_map(|a| a.value_str().map(|s| s.to_string()))
.filter(|v| !v.is_empty())
.collect::<FxHashSet<_>>()
}