]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/clean/types.rs
Remove unneeded replace
[rust.git] / src / librustdoc / clean / types.rs
index 223fda84871e9725392f8c3c1717a34c0d3db1a9..8fbfb04bac3e4f40daa410c481246f0e294c4fb3 100644 (file)
@@ -695,7 +695,7 @@ pub fn get_doc_aliases(&self) -> FxHashSet<String> {
         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<_>>()
     }