+1 for printf! and printfln!
2014年4月3日 下午1:14于 "Daniel Micay" 写道:
> Perhaps we should have `print` and `println` back in the prelude and
> call these `printf!` and `printfln!`. I think it would be a lot clearer,
> as people always ask how these are different from `print` and `println`.
>
>
> _
On 03/04/14 03:43 PM, Ziad Hatahet wrote:
> But `println!("hello world")` works. What am I missing?
>
> --
> Ziad
It works when there's a string constants, not with a variable.
signature.asc
Description: OpenPGP digital signature
___
Rust-dev mailin
But `println!("hello world")` works. What am I missing?
--
Ziad
On Wed, Apr 2, 2014 at 1:58 PM, Brian Anderson wrote:
> I've been worried about this decision too.
>
>
> On 04/02/2014 10:34 AM, Steve Klabnik wrote:
>
>> I compiled from source just yesterday, but everything's been going
>> swimmi
In terms of making hello world nice in 0.10, I prefer to simply put
something else in the format string in order to clarify what the first
argument is there for:
fn main() {
let x = "world";
println!("Hello, {:s}!", x);
}
Also remember that saying `println!("Hello, world!"
On Apr 2, 2014, at 10:14 PM, Daniel Micay wrote:
> Perhaps we should have `print` and `println` back in the prelude and
> call these `printf!` and `printfln!`. I think it would be a lot clearer,
> as people always ask how these are different from `print` and `println`.
I would not be opposed to
Perhaps we should have `print` and `println` back in the prelude and
call these `printf!` and `printfln!`. I think it would be a lot clearer,
as people always ask how these are different from `print` and `println`.
signature.asc
Description: OpenPGP digital signature
On Apr 2, 2014, at 2:08 PM, Simon Sapin wrote:
> On 02/04/2014 18:43, Corey Richardson wrote:
>> On Wed, Apr 2, 2014 at 1:34 PM, Steve Klabnik wrote:
>>> I compiled from source just yesterday, but everything's been going
>>> swimmingly!
>>>
>>> I just have one comment on 0.10: It seems like p
On 02/04/2014 18:43, Corey Richardson wrote:
On Wed, Apr 2, 2014 at 1:34 PM, Steve Klabnik wrote:
I compiled from source just yesterday, but everything's been going swimmingly!
I just have one comment on 0.10: It seems like println was removed
from the prelude. While I can totally appreciate t
I've been worried about this decision too.
On 04/02/2014 10:34 AM, Steve Klabnik wrote:
I compiled from source just yesterday, but everything's been going swimmingly!
I just have one comment on 0.10: It seems like println was removed
from the prelude. While I can totally appreciate that most pe
On Wed, Apr 2, 2014 at 1:34 PM, Steve Klabnik wrote:
> I compiled from source just yesterday, but everything's been going swimmingly!
>
> I just have one comment on 0.10: It seems like println was removed
> from the prelude. While I can totally appreciate that most people will
> use println!, whic
I compiled from source just yesterday, but everything's been going swimmingly!
I just have one comment on 0.10: It seems like println was removed
from the prelude. While I can totally appreciate that most people will
use println!, which is automatically use-able, it _is_ making my
'hello world' ex
On 01/04/14 06:44 PM, Alex Crichton wrote:
> Greeting Rustlers!
>
> Our lovely automation has recently prepared an 0.10 release candidate
> recently.
> I've tested them slightly, and if you'd like to also give them a shot all the
> links are included at the end of this message. Remember that this
Greeting Rustlers!
Our lovely automation has recently prepared an 0.10 release candidate recently.
I've tested them slightly, and if you'd like to also give them a shot all the
links are included at the end of this message. Remember that this is not a
signed release yet, we've only got checksums f
13 matches
Mail list logo