]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #24112 - joshtriplett:patch-1, r=steveklabnik
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 7 Apr 2015 12:43:12 +0000 (18:13 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 7 Apr 2015 12:43:12 +0000 (18:13 +0530)
commit322e4a18e3a64745f761a072b311966567488f9d
treea4ad20026d8b0d1cc922a855c84e5fd48620b7ea
parent6efb8352e8b066d23f6c67ffcf8ab6e60642fe2e
parent59d889805e7303e862d02f22aba0887ce49975e7
Rollup merge of #24112 - joshtriplett:patch-1, r=steveklabnik

 traits.md said:

If we add a `use` line right above `main` and make the right things public,
everything is fine:

However, the use line was actually placed at the top of the file instead.  Move
the use line to right above main.  That also makes the example more evocative
of cases where the module is defined in a separate file.