We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b4244d commit cb3dd21Copy full SHA for cb3dd21
src/librustdoc/markdown_pass.rs
@@ -150,8 +150,8 @@ pub fn header_kind(doc: doc::ItemTag) -> ~str {
150
doc::FnTag(_) => {
151
~"Function"
152
}
153
- doc::ConstTag(_) => {
154
- ~"Freeze"
+ doc::StaticTag(_) => {
+ ~"Static"
155
156
doc::EnumTag(_) => {
157
~"Enum"
@@ -777,7 +777,7 @@ mod test {
777
#[test]
778
fn should_write_const_header() {
779
let markdown = render(~"static a: bool = true;");
780
- assert!(markdown.contains("## Freeze `a`\n\n"));
+ assert!(markdown.contains("## Static `a`\n\n"));
781
782
783
0 commit comments