These are chat archives for rust-lang/rust

10th
Jun 2016
__JM_Joy__
@jmjoy
Jun 10 2016 07:11
What is the mean of "::std" (prefix with ::)??
Means root?
Peter Atashian
@retep998
Jun 10 2016 07:40
It means relative to the root module
If you didn't put the :: then it would be relative to the current module
__JM_Joy__
@jmjoy
Jun 10 2016 07:40
@retep998 Thanks!
K Momchilov
@momchilov
Jun 10 2016 08:15
hi all
__JM_Joy__
@jmjoy
Jun 10 2016 08:49
Is there a literal expr for String?
Alexander Ronald Altman
@pthariensflame
Jun 10 2016 22:44
@jmjoy "my string here".to_string
That's the best you can do, as far as I know. :)
Sorry .to_string()