Skip to content

Commit cb3dd21

Browse files
committed
Change Freeze to Static
1 parent 5b4244d commit cb3dd21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/markdown_pass.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ pub fn header_kind(doc: doc::ItemTag) -> ~str {
150150
doc::FnTag(_) => {
151151
~"Function"
152152
}
153-
doc::ConstTag(_) => {
154-
~"Freeze"
153+
doc::StaticTag(_) => {
154+
~"Static"
155155
}
156156
doc::EnumTag(_) => {
157157
~"Enum"
@@ -777,7 +777,7 @@ mod test {
777777
#[test]
778778
fn should_write_const_header() {
779779
let markdown = render(~"static a: bool = true;");
780-
assert!(markdown.contains("## Freeze `a`\n\n"));
780+
assert!(markdown.contains("## Static `a`\n\n"));
781781
}
782782

783783
#[test]

0 commit comments

Comments
 (0)