Skip to content

Commit 78dbf7e

Browse files
committed
Make rustdoc/demo.rs less gendered
1 parent 50f2db4 commit 78dbf7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rustdoc/demo.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/// The base price of a muffin on a non-holiday
1515
const price_of_a_muffin: float = 70f;
1616

17-
type waitress = {
17+
type waitperson = {
1818
hair_color: ~str
1919
};
2020

@@ -27,7 +27,7 @@ enum omnomnomy {
2727
}
2828

2929
fn take_my_order_please(
30-
_waitress: waitress,
30+
_waitperson: waitperson,
3131
_order: ~[omnomnomy]
3232
) -> uint {
3333

@@ -36,7 +36,7 @@ fn take_my_order_please(
3636
*
3737
* # Arguments
3838
*
39-
* * _waitress - The waitress that you want to bother
39+
* * _waitperson - The waitperson that you want to bother
4040
* * _order - The order vector. It should be filled with food
4141
*
4242
* # Return
@@ -183,4 +183,4 @@ impl of the_shunned_house for omnomnomy {
183183
fn construct() -> bool {
184184
fail;
185185
}
186-
}
186+
}

0 commit comments

Comments
 (0)