Privatize unindent
function.
Doesn't look like it's used anywhere outside the module.
This commit is contained in:
parent
a147a9d01b
commit
5495fab363
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user