about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-08 17:00:03 -0800
committerBrian Anderson <banderson@mozilla.com>2012-03-08 17:00:03 -0800
commit256146bba4d02bd96e67859e1d7a42b44e351626 (patch)
treeeff4fb9084af3d49f01b001a6ef6653416e5cc58
parent71799cff2be35db9d3d2436f132156aff08fc672 (diff)
downloadrust-256146bba4d02bd96e67859e1d7a42b44e351626.tar.gz
rust-256146bba4d02bd96e67859e1d7a42b44e351626.zip
rustdoc: Rename desc_pass to text_pass
-rw-r--r--src/rustdoc/rustdoc.rc2
-rw-r--r--src/rustdoc/text_pass.rs (renamed from src/rustdoc/desc_pass.rs)0
-rw-r--r--src/rustdoc/trim_pass.rs2
-rw-r--r--src/rustdoc/unindent_pass.rs2
4 files changed, 3 insertions, 3 deletions
diff --git a/src/rustdoc/rustdoc.rc b/src/rustdoc/rustdoc.rc
index 903c3abd920..1ae040f6e6e 100644
--- a/src/rustdoc/rustdoc.rc
+++ b/src/rustdoc/rustdoc.rc
@@ -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;
diff --git a/src/rustdoc/desc_pass.rs b/src/rustdoc/text_pass.rs
index 847c99803b6..847c99803b6 100644
--- a/src/rustdoc/desc_pass.rs
+++ b/src/rustdoc/text_pass.rs
diff --git a/src/rustdoc/trim_pass.rs b/src/rustdoc/trim_pass.rs
index d236821e6cb..ca0714ccc83 100644
--- a/src/rustdoc/trim_pass.rs
+++ b/src/rustdoc/trim_pass.rs
@@ -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]
diff --git a/src/rustdoc/unindent_pass.rs b/src/rustdoc/unindent_pass.rs
index 7aa7f31400b..1ec765b13b8 100644
--- a/src/rustdoc/unindent_pass.rs
+++ b/src/rustdoc/unindent_pass.rs
@@ -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 {