Change Freeze to Static

This commit is contained in:
Sangeun Kim
2013-08-07 16:44:42 +09:00
committed by Corey Richardson
parent ffd80aa276
commit 19d0eb9060
+3 -3
View 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]