rust/src/libstd
Manish Goregaokar 8b57130e84 Rollup merge of #25990 - carols10cents:try-docs, r=nikomatsakis
The API documentation is not explicit enough that because `try!` returns
`Err` early for you, you can only use it in functions that return
`Result`. The book mentions this, but if you come across `try!` outside
of the book and look it up in the docs, this restriction on the return
type of the function is not particularly clear.

I seriously had this epiphany a few days ago after working with Rust for MONTHS, and after seeing [a friend have to come to the same realization](http://joelmccracken.github.io/entries/a-simple-web-app-in-rust-pt-2a/), I'd like to save more people from this confusion :) 💖
2015-06-04 10:07:02 +05:30
..
collections Inline hash_table::calculate_offsets, used by iterators. 2015-05-31 11:03:46 +03:00
ffi Auto merge of #25416 - kballard:ffi-cstr-to-str-convenience, r=alexcrichton 2015-05-23 11:12:02 +00:00
io std::io: bump the stability tag on ErrorKind::InvalidData to 1.2.0 2015-05-30 15:09:13 +03:00
net Loosen timeout restrictions 2015-05-29 19:09:29 -07:00
num Document behavior of {f32,f64}::{min,max} on NaN 2015-06-01 15:02:11 -07:00
os Rollup merge of #25140 - kevinmehall:mips, r=steveklabnik 2015-05-09 00:37:42 +05:30
prelude Rollup merge of #25224 - brson:stddoc, r=steveklabnik 2015-05-13 00:52:48 -04:00
rand remove references to IoResult 2015-05-28 12:51:01 -04:00
rt Use const fn to abstract away the contents of UnsafeCell & friends. 2015-05-27 11:19:03 +03:00
sync Add priority policy to RWLock API Documentation 2015-06-03 18:55:52 +01:00
sys Rollup merge of #25974 - richo:stack-msg, r=alexcrichton 2015-06-03 14:46:41 +05:30
thread std: Add an option to disable ELF based TLS 2015-05-28 10:14:42 -07:00
time std: Redesign Duration, implementing RFC 1040 2015-05-13 17:50:58 -07:00
array.rs rustdoc: Support for "array" primitive 2015-03-23 14:02:34 -07:00
ascii.rs Model lexer: Fix remaining issues 2015-04-21 12:02:12 +02:00
bool.rs Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
dynamic_lib.rs Use const fn to abstract away the contents of UnsafeCell & friends. 2015-05-27 11:19:03 +03:00
env.rs Rollup merge of #25668 - steveklabnik:doc_const, r=alexcrichton 2015-05-28 00:35:20 +05:30
error.rs std: Don't use a wrapper for the float error type 2015-05-01 16:44:36 -07:00
fs.rs Rollup merge of #25128 - steveklabnik:gh24816, r=alexcrichton 2015-05-28 00:35:19 +05:30
lib.rs Use const fn to abstract away the contents of UnsafeCell & friends. 2015-05-27 11:19:03 +03:00
macros.rs Indent 4 spaces instead of 2 2015-06-03 13:23:55 -04:00
panicking.rs std: Don't assume thread::current() works on panic 2015-04-27 16:15:36 -07:00
path.rs Auto merge of #25736 - tshepang:path-nits, r=steveklabnik 2015-05-25 01:56:48 +00:00
process.rs Auto merge of #25494 - alexcrichton:stdio-from-raw, r=aturon 2015-05-29 19:24:40 +00:00
rtdeps.rs std: Prepare for linking to musl 2015-04-27 10:11:15 -07:00
thunk.rs Remove Thunk struct and Invoke trait; change Thunk to be an alias 2015-04-01 14:41:21 -04:00
tuple.rs Remove doc-comment default::Default imports 2015-04-22 09:42:36 -04:00
unit.rs grandfathered -> rust1 2015-01-23 21:48:20 -08:00