Privatize unindent function.

Doesn't look like it's used anywhere outside the module.
This commit is contained in:
Corey Farwell 2016-09-25 15:03:09 -04:00
parent a147a9d01b
commit 5495fab363

View File

@ -290,7 +290,7 @@ pub fn collapse_docs(krate: clean::Crate) -> plugins::PluginResult {
krate
}
pub fn unindent(s: &str) -> String {
fn unindent(s: &str) -> String {
let lines = s.lines().collect::<Vec<&str> >();
let mut saw_first_line = false;
let mut saw_second_line = false;