rust/src/libstd
bors b79081c2eb Auto merge of #38648 - utkarshkukreti:question-mark-in-libstd-documentation-examples, r=pnkfelix,steveklabnik,frewsxcvx
libstd: replace all `try!` with `?` in documentation examples

See #38644.

For the record, I used the following Perl one-liner and then manually fixed a couple of things it got wrong:

    $ perl -p -i -e 's#(///.*)try!\((.*)\)#$1$2?#' src/libstd/**/*.rs
2017-01-22 16:55:16 +00:00
..
collections Change to_owned to to_string in docs 2017-01-13 01:57:48 +01:00
ffi Add missing urls for OsStr and OsString 2017-01-22 11:40:49 +01:00
io libstd: mention ? operator instead of removing try! macro reference 2017-01-22 21:07:38 +05:30
net libstd: replace all try! with ? in documentation examples 2017-01-22 21:07:38 +05:30
os sparc64-linux support 2016-12-30 20:46:19 -05:00
prelude End stdlib module summaries with a full stop. 2016-03-04 17:37:11 -05:00
rand Implement fmt::Debug for all structures in libstd. 2016-12-18 14:55:14 -08:00
sync Add missing doc examples for Mutex 2017-01-10 20:58:17 +01:00
sys libstd: replace all try! with ? in documentation examples 2017-01-22 21:07:38 +05:30
sys_common Fix compile errors and such 2016-12-20 14:09:50 -08:00
thread Rollup merge of #38761 - frewsxcv:thread-sleep-formatting, r=alexcrichton 2017-01-20 08:34:30 -08:00
time Auto merge of #38712 - clarcharr:duration_sum, r=sfackler 2017-01-19 01:09:46 +00:00
ascii.rs Implement fmt::Debug for all structures in libstd. 2016-12-18 14:55:14 -08:00
build.rs Auto merge of #38401 - redox-os:redox_cross, r=brson 2016-12-23 09:09:26 +00:00
Cargo.toml Expose a feature to force use of alloc_system, teach rustbuild 2017-01-16 03:06:45 +00:00
env.rs libstd: replace all try! with ? in documentation examples 2017-01-22 21:07:38 +05:30
error.rs Follow our own recommendations in the examples 2016-11-25 17:59:04 +01:00
f32.rs std: Flatten the num directory to reflect the module layout 2016-11-01 17:08:24 +00:00
f64.rs std: Flatten the num directory to reflect the module layout 2016-11-01 17:08:24 +00:00
fs.rs libstd: replace all try! with ? in documentation examples 2017-01-22 21:07:38 +05:30
lib.rs Expose a feature to force use of alloc_system, teach rustbuild 2017-01-16 03:06:45 +00:00
macros.rs Rollup merge of #38457 - frewsxcv:include, r=GuillaumeGomez 2017-01-19 11:56:00 +01:00
memchr.rs std: Move platform specific memchr code into sys 2016-10-01 19:33:02 +00:00
num.rs travis: Get an emscripten builder online 2017-01-19 13:54:19 -08:00
panic.rs Implement fmt::Debug for all structures in libstd. 2016-12-18 14:55:14 -08:00
panicking.rs Implement fmt::Debug for all structures in libstd. 2016-12-18 14:55:14 -08:00
path.rs Auto merge of #38935 - redox-os:fix_path_redox, r=brson 2017-01-14 11:03:25 +00:00
primitive_docs.rs Specify the result of integer cast on boolean 2017-01-21 12:35:43 +01:00
process.rs Auto merge of #38866 - alexcrichton:try-wait, r=aturon 2017-01-09 07:01:10 +00:00
rt.rs Revert rt.rs 2016-12-22 16:19:05 -07:00
rtdeps.rs Add support for the Haiku operating system on x86 and x86_64 machines 2016-09-25 11:12:23 -05:00