rust/library/std/src
Jack Huey d3304c8ac3
Rollup merge of #81588 - xfix:delete-doc-alias, r=Mark-Simulacrum
Add doc aliases for "delete"

This patch adds doc aliases for "delete". The added aliases are supposed to reference usages `delete` in other programming languages.

- `HashMap::remove`, `BTreeMap::remove` -> `Map#delete` and `delete` keyword in JavaScript.

- `HashSet::remove`, `BTreeSet::remove` -> `Set#delete` in JavaScript.

- `mem::drop` -> `delete` keyword in C++.

- `fs::remove_file`, `fs::remove_dir`, `fs::remove_dir_all`-> `File#delete` in Java, `File#delete` and `Dir#delete` in Ruby.

Before this change, searching for "delete" in documentation returned no results.
2021-02-02 16:01:41 -05:00
..
backtrace Add Frames iterator for Backtrace 2021-01-23 11:56:33 -06:00
collections Rollup merge of #81588 - xfix:delete-doc-alias, r=Mark-Simulacrum 2021-02-02 16:01:41 -05:00
env std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
error std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f32 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f64 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
ffi shrink_to shouldn't panic on len greater than capacity 2021-01-26 19:25:37 +01:00
fs std: Fix test got_symlink_permission on Windows 2020-11-16 21:09:26 +03:00
io specialize io::copy to use the memory of the writer if it is a BufWriter 2021-01-31 14:58:03 +01:00
lazy std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
memchr std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
net Rollup merge of #81549 - est31:wording_fix, r=jonas-schievink 2021-01-31 16:36:47 +01:00
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Fix AArch64 types in std::os::raw 2021-02-02 05:49:31 +00:00
panic review: fix nits and move panic safety tests to the correct place 2020-09-25 23:10:24 +02:00
path Refactor parse_prefix on Windows 2020-11-07 16:15:48 +01:00
prelude Rollup merge of #80172 - camelid:prelude-docs-consistent-punct, r=steveklabnik 2021-01-21 20:04:39 +09:00
process std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
sync Fix documentation typo 2020-12-22 12:19:46 +01:00
sys Rollup merge of #81530 - ojeda:sys-use-abort-instead-of-wasm32-unreachable, r=Mark-Simulacrum 2021-02-02 16:01:38 -05:00
sys_common Optimize away some path lookups in the generic fs::copy implementation. 2021-01-06 08:36:31 -08:00
thread Recommend panic::resume_unwind instead of panicking. 2020-12-18 17:03:45 -05:00
time Duration::zero() -> Duration::ZERO 2020-10-21 20:44:03 -07:00
alloc.rs Fix safety comment 2021-01-07 09:13:21 +01:00
ascii.rs Convert many files to intra-doc links 2020-09-02 17:37:40 -04:00
backtrace.rs Add Frames iterator for Backtrace 2021-01-23 11:56:33 -06:00
env.rs Document security implications of std::env::temp_dir 2021-01-20 11:24:47 -08:00
error.rs Rollup merge of #75180 - KodrAus:feat/error-by-ref, r=m-ou-se 2021-01-24 22:09:45 +01:00
f32.rs Deprecate-in-future the constants superceded by RFC 2700 2021-01-20 20:08:11 -05:00
f64.rs Deprecate-in-future the constants superceded by RFC 2700 2021-01-20 20:08:11 -05:00
fs.rs Add doc aliases for "delete" 2021-01-31 11:07:37 +01:00
keyword_docs.rs Update code to account for extern ABI requirement 2021-01-13 07:49:45 -05:00
lazy.rs Add (internal-only) SyncOnceCell::get_or_init_pin. 2020-12-08 22:57:50 +01:00
lib.rs Rollup merge of #78641 - the8472:buffered-copy, r=sfackler 2021-02-01 14:29:28 +01:00
macros.rs Implement new panic!() behaviour for Rust 2021. 2021-01-25 13:48:11 +01:00
memchr.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
num.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
panic.rs Auto merge of #80851 - m-ou-se:panic-2021, r=petrochenkov 2021-02-01 10:25:31 +00:00
panicking.rs fix another comment, and make __rust_start_panic code a bit more semantically clear 2020-12-25 23:37:27 +01:00
path.rs Inline methods of Path and OsString 2021-01-22 18:46:00 +01:00
primitive_docs.rs Auto merge of #80590 - camelid:bool-never-docs, r=nagisa 2021-01-03 12:21:12 +00:00
process.rs Auto merge of #78439 - lzutao:rm-clouldabi, r=Mark-Simulacrum 2020-11-23 19:01:19 +00:00
rt.rs
time.rs Drop support for cloudabi targets 2020-11-22 17:11:41 -05:00