rust/src/libstd
Matt Brubeck b6fb3e3411 In doc examples, don't ignore read/write results
Calling `Read::read` or `Write::write` without checking the returned
`usize` value is almost always an error.  Example code in the
documentation should demonstrate how to use the return value correctly.
Otherwise, people might copy the example code thinking that it is okay
to "fire and forget" these methods.
2019-03-29 11:50:41 -07:00
..
collections Rollup merge of #59082 - alexreg:cosmetic-2-doc-comments, r=Centril 2019-03-16 22:39:56 +08:00
ffi Use lifetime contravariance to elide more lifetimes in core+alloc+std 2019-03-09 19:10:28 -08:00
io In doc examples, don't ignore read/write results 2019-03-29 11:50:41 -07:00
net Auto merge of #59136 - jethrogb:jb/sgx-std-test, r=sanxiyn 2019-03-26 01:48:34 +00:00
os SGX target: Expose thread id function in os module 2019-03-05 13:35:57 -08:00
prelude libstd => 2018 2019-02-28 04:06:15 +09:00
sync SGX target: fix std unit tests 2019-03-25 11:31:19 -07:00
sys Fix missed fn rename in #59284 2019-03-28 17:50:01 -07:00
sys_common Auto merge of #59370 - Centril:rollup, r=Centril 2019-03-22 21:00:07 +00:00
tests libstd => 2018 2019-02-28 04:06:15 +09:00
thread Rollup merge of #59460 - xfix:include-id-in-thread-debug, r=Amanieu 2019-03-27 18:15:44 -07:00
alloc.rs Add Default to std::alloc::System 2019-03-27 00:09:12 +01:00
ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
build.rs libstd => 2018 2019-02-28 04:06:15 +09:00
Cargo.toml SGX target: fix std unit tests 2019-03-25 11:31:19 -07:00
env.rs SGX target: fix std unit tests 2019-03-25 11:31:19 -07:00
error.rs Use lifetime contravariance to elide more lifetimes in core+alloc+std 2019-03-09 19:10:28 -08:00
f32.rs Stablize {f32,f64}::copysign(). 2019-03-29 03:20:50 +08:00
f64.rs Stablize {f32,f64}::copysign(). 2019-03-29 03:20:50 +08:00
fs.rs SGX target: fix std unit tests 2019-03-25 11:31:19 -07:00
future.rs Update the future/task API 2019-02-03 13:46:53 -08:00
keyword_docs.rs Move link to rust book to next line to pass 100 column limit 2019-03-27 21:46:25 -04:00
lib.rs Add todo!() macro 2019-03-18 19:27:31 +03:00
macros.rs Clarify behavior of dbg macro 2019-03-27 11:22:55 -04:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs libstd => 2018 2019-02-28 04:06:15 +09:00
panic.rs libstd => 2018 2019-02-28 04:06:15 +09:00
panicking.rs Use the correct stderr when testing libstd 2019-02-28 19:09:17 -08:00
path.rs SGX target: fix std unit tests 2019-03-25 11:31:19 -07:00
primitive_docs.rs libs: doc comments 2019-02-10 23:57:25 +00:00
process.rs SGX target: fix std unit tests 2019-03-25 11:31:19 -07:00
rt.rs libstd => 2018 2019-02-28 04:06:15 +09:00
time.rs Make duration_since use checked_duration_since 2019-03-22 22:53:07 +01:00