]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #5788 : danluu/rust/rusti_clear, r=bstrie
authorbors <bors@rust-lang.org>
Tue, 9 Apr 2013 13:10:01 +0000 (06:10 -0700)
committerbors <bors@rust-lang.org>
Tue, 9 Apr 2013 13:10:01 +0000 (06:10 -0700)
The old help text reads "clear the screen", but :clear seems intended to do something completely different. I'm not sure what the intent is. If it's really supposed to clear the screen, not only does it not clear the screen, it does something completely different.

```
rusti> fn foo() { println("called foo!") }
()
rusti> foo();
called foo!
()
rusti> :clear
rusti> foo();
<anon>:34:0: 34:3 error: unresolved name: `foo`.
<anon>:34 foo();
```

Per the contributor guidelines, here's the reason there's no testcase: it's a comment string.


Trivial merge