So... why?
https://mail.mozilla.org/pipermail/rust-dev/2015-January/011558.html
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev
Try using `self.sgf.as_slice()` instead.
The change is necessary, AFAIK, because `~str` would automatically be
converted to a borrowed reference without having to explicitly call the
`as_slice` method. This doesn't happen for the StrBuf (and what is now
String, I think) type.
My suspicion is
argument to arbitrary function, however.
2014-05-26 10:36 GMT+04:00 Andrew Gallant jams...@gmail.com:
Try using `self.sgf.as_slice()` instead.
The change is necessary, AFAIK, because `~str` would automatically be
converted to a borrowed reference without having to explicitly call the
`as_slice