- 01 6月, 2014 7 次提交
-
-
由 Alex Crichton 提交于
Instead of one giant function, this breaks it up into several smaller functions which have explicit dependencies among one another. There are no code changes as a result of this commit.
-
由 bors 提交于
This rewrites the example to also be more aligned with the same example given in the main tutorial.
-
由 bors 提交于
Renamed `owned_box` to `on_the_heap` to use a consistent naming across the tutorial and the life time guide. Also it makes the example easier to grasp.
-
由 Christoph Burgdorf 提交于
This rewrites the example to also be more aligned with the same example given in the main tutorial.
-
由 Christoph Burgdorf 提交于
Renamed `owned_box` to `on_the_heap` to use a consistent naming across the tutorial and the life time guide. Also it makes the example easier to grasp.
-
由 bors 提交于
Fixes #14541
-
由 bors 提交于
-
- 31 5月, 2014 33 次提交
-
-
由 Florian Hartwig 提交于
-
由 bors 提交于
By dropping the intermediate vector that holds the relevant candidates including duplicates and directly building the vector that has the duplicates removed we can eliminate quite a few allocations. This reduces the times for type checking by 5-10% (measured with libstd, libsyntax and librustc).
-
由 bors 提交于
For some reason, I had this comment in my local tree but not in the branch I sent with the PR.
-
由 Björn Steinbrink 提交于
By dropping the intermediate vector that holds the relevant candidates including duplicates and directly building the vector that has the duplicates removed we can eliminate quite a few allocations. This reduces the times for type checking by 5-10% (measured with libstd, libsyntax and librustc).
-
由 bors 提交于
This was only ever used by rustpkg and is very unmaintained. [breaking-change]
-
由 Jakub Wieczorek 提交于
Fixes #14541
-
由 bors 提交于
Google have migrated snappy to GitHub.
-
由 bors 提交于
I removed all remaining deprecated owned vectors from the docs. All example tests pass.
-
由 Steven Fackler 提交于
This was only ever used by rustpkg and is very unmaintained. [breaking-change]
-
由 bors 提交于
Adds a platform-specific function, `split_paths` to the `os` module. This function can be used to parse PATH-like environment variables according to local platform conventions. Closes #14352.
-
由 Cameron Zwarich 提交于
For some reason, I had this comment in my local tree but not in the branch I sent with the PR.
-
由 Jonathan Reem 提交于
-
由 Jonathan Reem 提交于
-
由 Jonathan Reem 提交于
-
由 Jonathan Reem 提交于
-
由 Jonathan Reem 提交于
-
由 Tom Jakubowski 提交于
Google have migrated snappy to GitHub.
-
由 bors 提交于
This is part 2 of the saga of renaming the Partial/Total equality and comparison traits.
-
由 Aaron Turon 提交于
Adds a platform-specific function, `split_paths` to the `os` module. This function can be used to parse PATH-like environment variables according to local platform conventions. Closes #14352.
-
由 Alex Crichton 提交于
This commit adds the groundwork for the renaming of the Total{Eq,Ord} traits. After this commit hits a snapshot, the traits can be renamed.
-
由 bors 提交于
The last example in the containers and iterators guide had a superfluous owned vector in it. Everything works fine without it, so I removed it to avoid confusion.
-
由 Alex Crichton 提交于
This is part of the ongoing renaming of the equality traits. See #12517 for more details. All code using Eq/Ord will temporarily need to move to Partial{Eq,Ord} or the Total{Eq,Ord} traits. The Total traits will soon be renamed to {Eq,Ord}. cc #12517 [breaking-change]
-
由 Alex Crichton 提交于
-
由 bors 提交于
CC @alexcrichton Closes #14545
-
由 bors 提交于
Make check_for_assignment_to_restricted_or_frozen_location treat mutation through an owning pointer the same way it treats mutation through an &mut pointer, where mutability must be inherited from the base path. I also included GC pointers in this check, as that is what the corresponding code in gather_loans/restrictions.rs does, but I don't think there is a way to test this with the current language. Fixes #14498.
-
由 Jonathan Reem 提交于
-
由 Simon Sapin 提交于
-
由 bors 提交于
This enforces `snake_case` for functions and methods only. Might be worth extending it to fields and locals too at some point in the future. A number of breaking changes each detailed in the attached commits.
-
由 Kevin Butler 提交于
-
由 Kevin Butler 提交于
A number of functions/methods have been moved or renamed to align better with rust standard conventions. rustc::back::link::WriteOutputFile => write_output_file rustc::middle::ty::EmptyBuiltinBounds => empty_builtin_bounds rustc::middle::ty::AllBuiltinBounds => all_builtin_bounds rustc::middle::liveness::IrMaps => IrMaps::new rustc::middle::liveness::Liveness => Liveness::new rustc::middle::resolve::NameBindings => NameBindings::new rustc::middle::resolve::PrimitiveTypeTable => PrimitiveTypeTable::new rustc::middle::resolve::Resolver => Resolver::new rustc::middle::trans::datum::Datum => Datum::new rustc::middle::trans::datum::DatumBlock => DatumBlock::new rustc::middle::trans::datum::Rvalue => Rvalue::new rustc::middle::typeck::infer::new_ValsAndBindings => ::infer::unify::ValsAndBindings::new rustc::middle::typeck::infer::region_inference::RegionVarBindings => RegionVarBindings::new [breaking-change]
-
由 Kevin Butler 提交于
A number of functions/methods have been moved or renamed to align better with rust standard conventions. serialize::ebml::reader::Doc => seriaize::ebml::Doc::new serialize::ebml::reader::Decoder => Decoder::new serialize::ebml::writer::Encoder => Encoder::new [breaking-change]
-
由 Kevin Butler 提交于
A number of functions/methods have been moved or renamed to align better with rust standard conventions. std::reflect::MovePtrAdaptor => MovePtrAdaptor::new debug::reflect::MovePtrAdaptor => MovePtrAdaptor::new std::repr::ReprVisitor => ReprVisitor::new debug::repr::ReprVisitor => ReprVisitor::new rustuv::homing::HomingIO.go_to_IO_home => go_to_io_home [breaking-change]
-
由 Kevin Butler 提交于
A number of functions/methods have been moved or renamed to align better with rust standard conventions. syntax::ext::mtwt::xorPush => xor_push syntax::parse::parser::Parser => Parser::new [breaking-change]
-