docs: Fix example
This commit is contained in:
parent
09df3ed8f1
commit
8b56287d60
|
@ -768,7 +768,7 @@ struct TimeBomb {
|
||||||
explosivity: uint,
|
explosivity: uint,
|
||||||
|
|
||||||
drop {
|
drop {
|
||||||
for iter::repeat(explosivity) {
|
for iter::repeat(self.explosivity) {
|
||||||
io::println(fmt!("blam!"));
|
io::println(fmt!("blam!"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue