Skip to content

Commit 6659b60

Browse files
committed
---
yaml --- r: 11715 b: refs/heads/master c: 6ad653b h: refs/heads/master i: 11713: 67a81e1 11711: 348c8dc v: v3
1 parent 994fc83 commit 6659b60

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
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: ac8b2c83542fdd470c775e0a9e99cd2a26afbf36
2+
refs/heads/master: 6ad653bb316e32198f17b0aa279b0387358b5a7f
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rustdoc/demo.rs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,36 @@ fn take_my_order_please(
4444
fail;
4545
}
4646

47+
fn take_my_order_now(
48+
_waitress: waitress,
49+
_order: [omnomnomy]
50+
) -> uint {
51+
52+
#[doc(
53+
desc = "OMG would you take my order already?",
54+
args(_waitress = "The waitress that you want to bother",
55+
_order = "The order vector. It should be filled with food."),
56+
return = "
57+
58+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed
59+
nec molestie nisl. Duis massa risus, pharetra a scelerisque a,
60+
molestie eu velit. Donec mattis ligula at ante imperdiet ut
61+
dapibus mauris malesuada.
62+
63+
Sed gravida nisi a metus elementum sit amet hendrerit dolor
64+
bibendum. Aenean sit amet neque massa, sed tempus tortor. Sed
65+
ut lobortis enim. Proin a mauris quis nunc fermentum ultrices
66+
eget a erat. Mauris in lectus vitae metus sodales
67+
auctor. Morbi nunc quam, ultricies at venenatis non,
68+
pellentesque ac dui.
69+
70+
",
71+
failure = "This function is full of fail"
72+
)];
73+
74+
fail;
75+
}
76+
4777
mod fortress_of_solitude {
4878
#[doc(
4979
brief = "Superman's vacation home",

0 commit comments

Comments
 (0)