Ranvijay (cc'ing rust-dev)-
Since you put your source code in the file c/c.rs, that code belongs to
a module named `c` *inside* of the `c` module you have already put into
your orig.rs crate.
You can see the git diff invocation in the transcript below to see how
I fixed your code.
Cheers,
Hi,
I saw a
posthttp://www.reddit.com/r/programming/comments/17hqg4/a_little_bit_rusty_practical_approach_on_rust/c86xyorby
Patrick Walton last week on Reddit in which he implied that it is
possible to convert Rust enumerator function into a Java-style iterator by
applying some magic transformer
On 2/4/13 11:34 AM, Vadim wrote:
Hi,
I saw a post
http://www.reddit.com/r/programming/comments/17hqg4/a_little_bit_rusty_practical_approach_on_rust/c86xyor
by Patrick Walton last week on Reddit in which he implied that it is
possible to convert Rust enumerator function into a Java-style iterator
After reading the recent discussions about lifetime notation, I was
wondering why lifetimes need their own names. Lifetimes refer to
variables that already have names. For example, given this fn from the
borrowed pointers tutorial:
fn selectT(shape: Shape, threshold: float,
So right now there is no way to implement, say, lock-step iteration of two
containers, without first copying contents of one of them into a vector?
On Mon, Feb 4, 2013 at 12:15 PM, Patrick Walton pwal...@mozilla.com wrote:
On 2/4/13 11:34 AM, Vadim wrote:
Hi,
I saw a post
On 2/4/13 12:57 PM, Vadim wrote:
So right now there is no way to implement, say, lock-step iteration of
two containers, without first copying contents of one of them into a vector?
Not using the normal iteration protocol. Some containers (for example,
treemap, IIRC) have methods that will
Hi there. How can i use power operator?
that is:
let x1 = 7;
let x2 = 8;
let mut x3;
x3 = x1 ** x2; ? it seems this doesn't work
thx.
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev
Le 04/02/2013 15:29, Renato Lenzi a écrit :
Hi there. How can i use power operator?
that is:
let x1 = 7;
let x2 = 8;
let mut x3;
x3 = x1 ** x2; ? it seems this doesn't work
Hi,
AFAIK there is no operator for this, but libcore has a
float::pow_with_uint function:
On 02/05/2013 04:49 AM, Chris Peterson wrote:
After reading the recent discussions about lifetime notation, I was
wondering why lifetimes need their own names. Lifetimes refer to
variables that already have names. For example, given this fn from the
borrowed pointers tutorial:
This is not
On 2/4/13 9:08 PM, Samuel de Framond wrote:
Regarding syntax, since the lifetime is annotating a type, would a
lifetime suffix be feasible? For example, T is a pointer to T and
T'lt could be a pointer to type T with a lifetime of lt
I don't know :/
This was covered earlier. Suffixes tend to
I'm guessing this was deliberate, but I thought I'd check. The bors bot (IIUC)
looks for an r+ attached to the final commit of a pull request in order to
start auto-merging. When a pull request becomes non-automatically-mergeable
(as mine did a few hours ago: jbclements:demodeing-and-deGCing),
11 matches
Mail list logo