Skip to content

Commit 5495fab

Browse files
committed
Privatize unindent function.
Doesn't look like it's used anywhere outside the module.
1 parent a147a9d commit 5495fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/passes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ pub fn collapse_docs(krate: clean::Crate) -> plugins::PluginResult {
290290
krate
291291
}
292292

293-
pub fn unindent(s: &str) -> String {
293+
fn unindent(s: &str) -> String {
294294
let lines = s.lines().collect::<Vec<&str> >();
295295
let mut saw_first_line = false;
296296
let mut saw_second_line = false;

0 commit comments

Comments
 (0)