Skip to content

Commit 256146b

Browse files
committed
rustdoc: Rename desc_pass to text_pass
1 parent 71799cf commit 256146b

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/rustdoc/rustdoc.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ mod prune_undoc_items_pass;
2929
mod prune_unexported_pass;
3030
mod prune_hidden_pass;
3131
mod desc_to_brief_pass;
32-
mod desc_pass;
32+
mod text_pass;
3333
mod unindent_pass;
3434
mod trim_pass;
3535
mod astsrv;
File renamed without changes.

src/rustdoc/trim_pass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ is interpreted as the brief description.
1010
export mk_pass;
1111

1212
fn mk_pass() -> pass {
13-
desc_pass::mk_pass("trim", {|s| str::trim(s)})
13+
text_pass::mk_pass("trim", {|s| str::trim(s)})
1414
}
1515

1616
#[test]

src/rustdoc/unindent_pass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ middle of a line, and each of the following lines is indented.
1414
export mk_pass;
1515

1616
fn mk_pass() -> pass {
17-
desc_pass::mk_pass("unindent", unindent)
17+
text_pass::mk_pass("unindent", unindent)
1818
}
1919

2020
fn unindent(s: str) -> str {

0 commit comments

Comments
 (0)