Currently extern mod, mod and use statements must appear in source
files only in the following order:

extern mod foo_c;
use foo::bar;
 mod foo;

I'd like if it can be changed to

extern mod foo_c;
mod foo;

use foo::bar;

I'm actually 100% for this change. It seems very weird to add a 'mod foo' and then have to go *above* the import to 'use foo::bar;'. If this can be done without much of a hassle, my vote is in its favor.

Jeaye
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to