Skip to content

Commit 1414e87

Browse files
committed
auto merge of #9982 : danluu/rust/local_delc_xfail, r=thestinger
This patch is trivial, but it comes with a question. Does Mozilla need to own the copyright on code submitted to Rust? The reason I ask is that, since the last time I submitted anything to a Mozilla project, I started working at Google, and they (by default) own the copyright on code that I write (even in my spare time). There's a process to assign copyright to another entity, and it should be a formality for something like this, but I'd still have to go through it if that's a requirement for Rust. Anyway, I'm submitting this incredibly trivial thing because, if I have to go through that process for the first time, I'd like it to be for something that's trivial, so I can see how much of a hassle it is (if any) without having invested much time up front. I didn't see anything about copyright in the Mozilla contributor's agreement, but I could have easily missed something somewhere else.
2 parents cd59a7c + 47fc24b commit 1414e87

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// xfail-test FIXME #6257
2-
31
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
42
// file at the top-level directory of this distribution and at
53
// http://rust-lang.org/COPYRIGHT.
@@ -16,9 +14,8 @@ use std::cmp::{Less,Equal,Greater};
1614
struct A<'self> {
1715
x: &'self int
1816
}
19-
2017
fn main() {
21-
let a = A { x: &1 }, b = A { x: &2 };
18+
let (a, b) = (A { x: &1 }, A { x: &2 });
2219

2320
assert!(a.equals(&a));
2421
assert!(b.equals(&b));

0 commit comments

Comments
 (0)