]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/format.rs
Improve accessibility:
[rust.git] / src / librustdoc / html / format.rs
index a5c3d35b1b594ec9bcbc3ba401c23d7fccfb4944..39e2a90222670250fd8c0c81e75fe50901430435 100644 (file)
@@ -107,10 +107,6 @@ pub(crate) fn into_inner(self) -> String {
         self.buffer
     }
 
-    pub(crate) fn insert_str(&mut self, idx: usize, s: &str) {
-        self.buffer.insert_str(idx, s);
-    }
-
     pub(crate) fn push_str(&mut self, s: &str) {
         self.buffer.push_str(s);
     }