1
Fork 0

librustc: Change repeated vector expressions to use implicit copyability.

This commit is contained in:
Patrick Walton 2013-07-10 16:00:11 -07:00
parent 2dbb3c3887
commit d57e8f8419
4 changed files with 34 additions and 6 deletions

View file

@ -280,7 +280,12 @@ pub fn Parser(sess: @mut ParseSess,
token: @mut tok0.tok,
span: @mut span,
last_span: @mut span,
buffer: @mut ([placeholder, .. 4]),
buffer: @mut ([
placeholder.clone(),
placeholder.clone(),
placeholder.clone(),
placeholder.clone(),
]),
buffer_start: @mut 0,
buffer_end: @mut 0,
tokens_consumed: @mut 0,