core: Remove a useless test from option mod
This commit is contained in:
@@ -84,9 +84,6 @@ fn may<T>(opt: t<T>, f: fn(T)) {
|
||||
alt opt { none {/* nothing */ } some(t) { f(t); } }
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test() { let _x = some::<int>(10); }
|
||||
|
||||
// Local Variables:
|
||||
// mode: rust;
|
||||
// fill-column: 78;
|
||||
|
||||
Reference in New Issue
Block a user