]> git.lizzy.rs Git - rust.git/commitdiff
Change Freeze to Static
authorSangeun Kim <sammy.kim@samsung.com>
Wed, 7 Aug 2013 07:44:42 +0000 (16:44 +0900)
committerCorey Richardson <corey@octayn.net>
Thu, 8 Aug 2013 02:41:13 +0000 (22:41 -0400)
src/librustdoc/markdown_pass.rs

index f05c59083f40f49f5288e1348b6a2a126c4a366e..beebe71faae2023c8133784f131dae2c1e5c9b2b 100644 (file)
@@ -150,8 +150,8 @@ pub fn header_kind(doc: doc::ItemTag) -> ~str {
         doc::FnTag(_) => {
             ~"Function"
         }
-        doc::ConstTag(_) => {
-            ~"Freeze"
+        doc::StaticTag(_) => {
+            ~"Static"
         }
         doc::EnumTag(_) => {
             ~"Enum"
@@ -777,7 +777,7 @@ fn should_leave_blank_line_between_fn_header_and_sig() {
     #[test]
     fn should_write_const_header() {
         let markdown = render(~"static a: bool = true;");
-        assert!(markdown.contains("## Freeze `a`\n\n"));
+        assert!(markdown.contains("## Static `a`\n\n"));
     }
 
     #[test]