rust/src
Manish Goregaokar 4c0fdebe7b Rollup merge of #33167 - benaryorg:master, r=alexcrichton
clarify documentation of TcpStream::connect() for multiple valid addresses

I am not sure how the UDP part of the stdlib behaves when passing multiple valid addresses, but it should be mentioned as there are legit use cases for [`impl<'a> ToSocketAddrs for &'a [SocketAddr]`](http://doc.rust-lang.org/nightly/std/net/trait.ToSocketAddrs.html), a TCP fallback only being one.

Just a little example program for anyone willing to enhance the documentation further:

```rust
use std::net::SocketAddr;
use std::net::ToSocketAddrs;
use std::net::TcpStream;

fn main()
{
	let v: Vec<SocketAddr> = vec!
	[
		"127.0.0.1:1338".to_socket_addrs().unwrap().next().unwrap(),
		"127.0.0.1:1337".to_socket_addrs().unwrap().next().unwrap(),
		"127.0.0.1:1339".to_socket_addrs().unwrap().next().unwrap(),
	];

	let stream = TcpStream::connect(&v[..]).unwrap();
}
```
2016-04-26 01:44:51 +05:30
..
bootstrap Auto merge of #33092 - alexcrichton:rustbuild-docs, r=brson 2016-04-23 05:36:28 -07:00
build_helper whoops 2016-04-04 21:14:15 +10:00
compiler-rt@57315f7e07 update compiler-rt submodule 2016-03-15 22:32:38 -05:00
doc Auto merge of #33120 - tclfs:patch-2, r=Manishearth 2016-04-24 20:17:08 -07:00
driver
etc Fix keyword parsing tests 2016-04-24 21:35:50 +03:00
grammar
jemalloc@aab1c0a0e0 std: Update jemalloc again to the 4.* track 2016-03-04 09:49:39 -08:00
liballoc Rollup merge of #32741 - tbu-:pr_remove_fixme_12808, r=bluss 2016-04-07 23:26:19 +05:30
liballoc_jemalloc Prefix jemalloc on DragonFly to prevent segfaults. 2016-04-02 18:40:59 +02:00
liballoc_system alloc_system: Handle failure properly 2016-04-15 10:02:21 -07:00
libarena std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
libbacktrace
libcollections Implement append for b-trees. 2016-04-22 12:30:43 +02:00
libcollectionstest Implement append for b-trees. 2016-04-22 12:30:43 +02:00
libcore Make the Iterator::enumerate doc example more clear 2016-04-22 10:21:12 -07:00
libcoretest std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
libflate std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
libfmt_macros bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
libgetopts std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
libgraphviz sprinkle feature gates here and there 2016-03-22 22:02:47 -05:00
liblibc@7265c17d18 std: Fix linking against signal on Android 2016-04-04 21:54:59 -07:00
liblog bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
librand std: Clean out deprecated APIs 2016-03-12 12:31:13 -08:00
librbml std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
librustc Auto merge of #32258 - nikomatsakis:fewer-errors, r=arielb1 2016-04-25 08:13:22 -07:00
librustc_back Auto merge of #33115 - mbrubeck:vfp3-d16, r=nrc 2016-04-25 10:43:36 -07:00
librustc_bitflags rustbuild: Sync some Cargo.toml/lib.rs dependencies 2016-02-21 09:49:13 -08:00
librustc_borrowck thread tighter span for closures around 2016-04-24 18:10:57 +05:30
librustc_const_eval Rollup merge of #32646 - Ms2ger:Constructor, r=sanxiyn 2016-04-14 14:49:09 -04:00
librustc_const_math move const_eval and check_match out of librustc 2016-03-30 13:43:36 +02:00
librustc_data_structures Use a BitVector instead of Vec<bool> for recording cleanup blocks 2016-04-03 14:58:34 +12:00
librustc_driver Auto merge of #33089 - nrc:hir-name-res, r=eddyb 2016-04-22 03:41:29 -07:00
librustc_incremental Auto merge of #32908 - oli-obk:hygienic_derive_encodable, r=alexcrichton 2016-04-14 08:23:11 -07:00
librustc_lint std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
librustc_llvm Auto merge of #31709 - ranma42:target_feature-from-llvm, r=alexcrichton 2016-04-20 09:57:57 -07:00
librustc_metadata debugging, misc fixes 2016-04-20 10:14:16 +12:00
librustc_mir Rollup merge of #33041 - petrochenkov:path, r=nrc,Manishearth 2016-04-25 00:47:44 +05:30
librustc_passes thread tighter span for closures around 2016-04-24 18:10:57 +05:30
librustc_platform_intrinsics rustc_platform_intrinsics: remove unused rustc dependency. 2016-03-29 19:36:01 +03:00
librustc_plugin rustc: move rustc_front to rustc::hir. 2016-04-06 09:01:55 +03:00
librustc_privacy Always report PRIVATE_IN_PUBLIC violations as hard errors when 2016-04-16 21:27:20 +00:00
librustc_resolve syntax: Check paths in visibilities for type parameters 2016-04-24 20:59:44 +03:00
librustc_save_analysis Rollup merge of #33041 - petrochenkov:path, r=nrc,Manishearth 2016-04-25 00:47:44 +05:30
librustc_trans Rollup merge of #33041 - petrochenkov:path, r=nrc,Manishearth 2016-04-25 00:47:44 +05:30
librustc_typeck Rollup merge of #33107 - sanxiyn:prev-impl-item, r=eddyb 2016-04-26 01:44:51 +05:30
librustc_unicode std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
librustdoc Rollup merge of #33160 - euclio:rustdoc-unstable-deprecated, r=alexcrichton 2016-04-26 01:44:51 +05:30
libserialize std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
libstd Rollup merge of #33167 - benaryorg:master, r=alexcrichton 2016-04-26 01:44:51 +05:30
libsyntax Rollup merge of #33041 - petrochenkov:path, r=nrc,Manishearth 2016-04-25 00:47:44 +05:30
libsyntax_ext Remove some old code from libsyntax 2016-04-24 21:04:09 +03:00
libterm term: undo conversion of user defined try!s 2016-03-22 22:03:19 -05:00
libtest Remove unused trait imports 2016-04-12 22:58:55 +09:00
llvm@25c7dc3703 Update LLVM to include a backport to restore AA performance 2016-03-18 15:51:17 +01:00
rt Handle integer-extending for C ABI 2016-04-04 22:14:10 +02:00
rtstartup Revert "workarounds to make link guards work on windows" 2016-03-25 14:07:20 -04:00
rust-installer@c37d3747da
rustc rustc: update Cargo.lock 2016-04-24 19:38:49 -04:00
rustllvm Implement feature extraction from TargetMachine 2016-04-09 00:39:04 +02:00
test Rollup merge of #33160 - euclio:rustdoc-unstable-deprecated, r=alexcrichton 2016-04-26 01:44:51 +05:30
tools Auto merge of #33084 - alexcrichton:osx-python-sanity, r=michaelwoerister 2016-04-23 01:18:03 -07:00
stage0.txt mk: Bootstrap from stable instead of snapshots 2016-04-19 10:56:49 -07:00