Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Rust build lookahead

jedestep edited this page Aug 1, 2013 · 5 revisions

This page tracks known changes to Rust between the version on which this project is built (0.7) and the master branch of the Rust repo. If you want to submit an issue relating to a newer version of Rust, please ensure it is submitted with the "future" tag.

  • copy has been removed in favor of .clone()
  • 1-element vectors are no longer implicitly allocated; use ~[0] in place of [0]. Currently this is handled at some locations in the code. On 0.7 it throws a warning; this is why -A unnecessary-allocation is set by default
  • & pointers are no longer allowed inside @ boxes
  • extra::net has been removed in favor of std::rt::io::net
  • for x.iter().advance |&t| syntax replaced with foreach t in x.iter(); foreach will likely become for soon
Clone this wiki locally