Re: [rust-dev] How to use the std::path?

2013-10-27 Thread Ramakrishnan Muthukrishnan
On Sun, Oct 27, 2013 at 10:05 AM, Kevin Ballard ke...@sb.org wrote: The path module was rewritten in between 0.8 and master. The documentation you are looking at only applies to master. I would strongly encourage you to upgrade. Anyway, as long as you're using 0.8, the correct documentation

Re: [rust-dev] How to use the std::path?

2013-10-26 Thread Ramakrishnan Muthukrishnan
On Sat, Oct 26, 2013 at 5:00 PM, Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: Hi, This is my first post to the list. Had been playing with Rust for the past one week and it is very nice so far. I hope this is the list for users of Rust as well (as opposed to developers of Rust). I

Re: [rust-dev] How to use the std::path?

2013-10-26 Thread Brendan Zabarauskas
Using master is highly recommended. Treat the 0.* releases as snapshots as opposed to stable releases. ~Brendan On 26/10/2013, at 11:59 PM, Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: On Sat, Oct 26, 2013 at 5:00 PM, Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: Hi, This is

Re: [rust-dev] How to use the std::path?

2013-10-26 Thread Corey Richardson
Nope. Path is in the prelude. The problem is he is using 0.8, which didn't have `Path::new`. On Sat, Oct 26, 2013 at 8:16 AM, clonejo clon...@clnj.de wrote: It seems you never told the compiler that the Path struct is to be found in the path module. So either import the Path struct (use

Re: [rust-dev] How to use the std::path?

2013-10-26 Thread Kevin Ballard
The path module was rewritten in between 0.8 and master. The documentation you are looking at only applies to master. I would strongly encourage you to upgrade. Anyway, as long as you're using 0.8, the correct documentation is http://static.rust-lang.org/doc/0.8/std/path/index.html. -Kevin