]> git.lizzy.rs Git - rust.git/commit
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)
commite56a17879aaa88787326e0bf3f7742980fed270e
tree1631869bd6b4e5654e2bd1f808efbc71ef411092
parentc6a4ba9791371a25474ab6145175f71072c3cccd
parenteaa8bbbb2e23cf68d4f6ea961af025ab4ac67eca
auto merge of #5788 : danluu/rust/rusti_clear, r=bstrie

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.