Skip to content

Commit 3a72b48

Browse files
committed
---
yaml --- r: 42239 b: refs/heads/master c: 65f711a h: refs/heads/master i: 42237: 00ca10f 42235: a8c2784 42231: 9797637 42223: a75ac1e 42207: 37dd33a 42175: 87683e3 42111: 5150cf0 41983: 3f927ed v: v3
1 parent b7a2cc4 commit 3a72b48

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c6e8af446fa7fcd6b2362489293f2e6c5b98ffc3
2+
refs/heads/master: 65f711a617e1cd3676cc6f3dbc40b26ecfcfed7b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
55
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650

trunk/src/librustdoc/markdown_pass.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ fn should_write_full_path_to_mod() {
331331
assert str::contains(markdown, ~"# Module `a::b::c`");
332332
}
333333

334-
fn write_oldcommon(
334+
fn write_common(
335335
ctxt: &Ctxt,
336336
desc: Option<~str>,
337337
sections: &[doc::Section]
@@ -380,7 +380,7 @@ fn write_mod_contents(
380380
ctxt: &Ctxt,
381381
doc: doc::ModDoc
382382
) {
383-
write_oldcommon(ctxt, doc.desc(), doc.sections());
383+
write_common(ctxt, doc.desc(), doc.sections());
384384
if doc.index.is_some() {
385385
write_index(ctxt, (&doc.index).get());
386386
}
@@ -483,7 +483,7 @@ fn should_write_index_for_foreign_mods() {
483483
}
484484

485485
fn write_nmod(ctxt: &Ctxt, doc: doc::NmodDoc) {
486-
write_oldcommon(ctxt, doc.desc(), doc.sections());
486+
write_common(ctxt, doc.desc(), doc.sections());
487487
if doc.index.is_some() {
488488
write_index(ctxt, (&doc.index).get());
489489
}
@@ -534,7 +534,7 @@ fn write_fnlike(
534534
sections: &[doc::Section]
535535
) {
536536
write_sig(ctxt, sig);
537-
write_oldcommon(ctxt, desc, sections);
537+
write_common(ctxt, desc, sections);
538538
}
539539

540540
fn write_sig(ctxt: &Ctxt, sig: Option<~str>) {
@@ -603,7 +603,7 @@ fn write_const(
603603
doc: doc::ConstDoc
604604
) {
605605
write_sig(ctxt, copy doc.sig);
606-
write_oldcommon(ctxt, doc.desc(), doc.sections());
606+
write_common(ctxt, doc.desc(), doc.sections());
607607
}
608608

609609
#[test]
@@ -624,7 +624,7 @@ fn write_enum(
624624
ctxt: &Ctxt,
625625
doc: doc::EnumDoc
626626
) {
627-
write_oldcommon(ctxt, doc.desc(), doc.sections());
627+
write_common(ctxt, doc.desc(), doc.sections());
628628
write_variants(ctxt, doc.variants);
629629
}
630630

@@ -705,7 +705,7 @@ fn should_write_variant_list_with_signatures() {
705705
}
706706

707707
fn write_trait(ctxt: &Ctxt, doc: doc::TraitDoc) {
708-
write_oldcommon(ctxt, doc.desc(), doc.sections());
708+
write_common(ctxt, doc.desc(), doc.sections());
709709
write_methods(ctxt, doc.methods);
710710
}
711711

@@ -753,7 +753,7 @@ fn should_write_trait_method_signature() {
753753
}
754754

755755
fn write_impl(ctxt: &Ctxt, doc: doc::ImplDoc) {
756-
write_oldcommon(ctxt, doc.desc(), doc.sections());
756+
write_common(ctxt, doc.desc(), doc.sections());
757757
write_methods(ctxt, doc.methods);
758758
}
759759

@@ -795,7 +795,7 @@ fn write_type(
795795
doc: doc::TyDoc
796796
) {
797797
write_sig(ctxt, copy doc.sig);
798-
write_oldcommon(ctxt, doc.desc(), doc.sections());
798+
write_common(ctxt, doc.desc(), doc.sections());
799799
}
800800

801801
#[test]
@@ -822,7 +822,7 @@ fn write_struct(
822822
doc: doc::StructDoc
823823
) {
824824
write_sig(ctxt, copy doc.sig);
825-
write_oldcommon(ctxt, doc.desc(), doc.sections());
825+
write_common(ctxt, doc.desc(), doc.sections());
826826
}
827827

828828
#[test]

0 commit comments

Comments
 (0)