rustdoc: Rename desc_pass to text_pass
This commit is contained in:
parent
71799cff2b
commit
256146bba4
@ -29,7 +29,7 @@ mod prune_undoc_items_pass;
|
||||
mod prune_unexported_pass;
|
||||
mod prune_hidden_pass;
|
||||
mod desc_to_brief_pass;
|
||||
mod desc_pass;
|
||||
mod text_pass;
|
||||
mod unindent_pass;
|
||||
mod trim_pass;
|
||||
mod astsrv;
|
||||
|
@ -10,7 +10,7 @@ is interpreted as the brief description.
|
||||
export mk_pass;
|
||||
|
||||
fn mk_pass() -> pass {
|
||||
desc_pass::mk_pass("trim", {|s| str::trim(s)})
|
||||
text_pass::mk_pass("trim", {|s| str::trim(s)})
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -14,7 +14,7 @@ middle of a line, and each of the following lines is indented.
|
||||
export mk_pass;
|
||||
|
||||
fn mk_pass() -> pass {
|
||||
desc_pass::mk_pass("unindent", unindent)
|
||||
text_pass::mk_pass("unindent", unindent)
|
||||
}
|
||||
|
||||
fn unindent(s: str) -> str {
|
||||
|
Loading…
x
Reference in New Issue
Block a user