rust/compiler
Yuki Okushi 2c3a8cf0a4
Rollup merge of #97611 - azdavis:master, r=Dylan-DPC
Tweak insert docs

For `{Hash, BTree}Map::insert`, I always have to take a few extra seconds to think about the slight weirdness about the fact that if we "did not" insert (which "sounds" false), we return true, and if we "did" insert, (which "sounds" true), we return false.

This tweaks the doc comments for the `insert` methods of those types (as well as what looks like a rustc internal data structure that I found just by searching the codebase for "If the set did") to first use the "Returns whether _something_" pattern used in e.g. `remove`, where we say that `remove` "returns whether the value was present".
2022-06-01 23:36:52 +09:00
..
rustc update jemalloc-sys to jemalloc v5.3 2022-05-25 08:25:15 +02:00
rustc_apfloat Addressed comments by @compiler-errors and @bjorn3 2022-03-30 17:04:46 -04:00
rustc_arena mark FIXMES for all the places found that are probably offset_from 2022-03-29 20:18:28 -04:00
rustc_ast Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillot 2022-05-23 07:43:50 +02:00
rustc_ast_lowering rustc_parse: Move AST -> TokenStream conversion logic to rustc_ast 2022-05-22 12:01:07 +03:00
rustc_ast_passes clippy::complexity fixes 2022-05-26 13:14:24 +02:00
rustc_ast_pretty Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillot 2022-05-23 07:43:50 +02:00
rustc_attr RFC3239: Implement compact cfg(target(..)) 2022-05-24 13:51:36 +02:00
rustc_borrowck Add a pointer to address cast kind 2022-05-31 00:00:00 +00:00
rustc_builtin_macros Auto merge of #97461 - eddyb:proc-macro-less-payload, r=bjorn3 2022-05-28 16:49:52 +00:00
rustc_codegen_cranelift Add a pointer to address cast kind 2022-05-31 00:00:00 +00:00
rustc_codegen_gcc Finish bumping stage0 2022-05-27 07:36:17 -04:00
rustc_codegen_llvm Auto merge of #97214 - Mark-Simulacrum:stage0-bump, r=pietroalbini 2022-05-29 16:28:21 +00:00
rustc_codegen_ssa Add a pointer to address cast kind 2022-05-31 00:00:00 +00:00
rustc_const_eval Rollup merge of #97216 - RalfJung:null-ptr-check, r=oli-obk 2022-06-01 23:36:46 +09:00
rustc_data_structures Tweak insert docs 2022-05-31 22:08:14 -07:00
rustc_driver errors: lazily load fallback fluent bundle 2022-04-13 02:44:59 +01:00
rustc_error_codes rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
rustc_error_messages errors: simplify referring to fluent attributes 2022-05-30 13:38:19 +01:00
rustc_errors Auto merge of #97357 - davidtwco:diagnostic-translation-typed-subdiagnostic-simplification, r=oli-obk 2022-05-30 22:49:36 +00:00
rustc_expand Rollup merge of #97536 - est31:remove_unused_lifetimes, r=compiler-errors 2022-05-29 16:25:05 -07:00
rustc_feature Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_fs_util
rustc_graphviz update graphviz links 2022-05-12 18:31:42 +09:00
rustc_hir Default methods of traits are also AssocFn defs as they essentially desugar to a method in a new impl block 2022-05-30 08:52:25 +00:00
rustc_hir_pretty use hir::Let in hir::Guard 2022-05-09 20:35:58 +08:00
rustc_incremental rename visit item-like methods 2022-05-13 11:46:06 -04:00
rustc_index Auto merge of #95418 - cjgillot:more-disk, r=davidtwco 2022-05-20 20:49:55 +00:00
rustc_infer Rollup merge of #97531 - compiler-errors:for-loop-pat-mismatch, r=davidtwco 2022-05-30 14:33:52 +02:00
rustc_interface Update to rebased rustc-rayon 0.4 2022-05-27 20:20:41 -07:00
rustc_lexer Reduce max hash in raw strings from u16 to u8 2022-03-23 22:13:55 +01:00
rustc_lint Fix TyKind lint, make consts no longer fn, etc 2022-05-28 11:38:22 -07:00
rustc_lint_defs Fix typo 2022-05-23 14:07:40 +02:00
rustc_llvm Add LLVM based mingw-w64 targets 2022-05-13 20:14:15 +02:00
rustc_log clippy::complexity fixes 2022-05-26 13:14:24 +02:00
rustc_macros errors: simplify referring to fluent attributes 2022-05-30 13:38:19 +01:00
rustc_metadata Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_middle Add a pointer to address cast kind 2022-05-31 00:00:00 +00:00
rustc_mir_build Add a pointer to address cast kind 2022-05-31 00:00:00 +00:00
rustc_mir_dataflow Add a pointer to address cast kind 2022-05-31 00:00:00 +00:00
rustc_mir_transform Add a pointer to address cast kind 2022-05-31 00:00:00 +00:00
rustc_monomorphize Auto merge of #97168 - SparrowLii:accesses, r=cjgillot 2022-05-26 11:15:15 +00:00
rustc_parse Auto merge of #97566 - compiler-errors:rollup-qfxw4j8, r=compiler-errors 2022-05-31 01:17:00 +00:00
rustc_parse_format Make rustc_parse_format compile on stable 2022-05-03 11:26:58 +02:00
rustc_passes Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_plugin_impl
rustc_privacy Rollup merge of #97096 - tmiasko:reachable-constructor, r=petrochenkov 2022-05-18 07:40:58 +09:00
rustc_query_impl Auto merge of #97287 - compiler-errors:type-interner, r=jackh726,oli-obk 2022-05-29 08:20:13 +00:00
rustc_query_system Auto merge of #97287 - compiler-errors:type-interner, r=jackh726,oli-obk 2022-05-29 08:20:13 +00:00
rustc_resolve Rollup merge of #97240 - TaKO8Ki:improve-errors-about-typos-on-variables, r=compiler-errors 2022-05-24 12:18:30 +09:00
rustc_save_analysis [save-analysis] Reference the variant not enum at struct-literal construction. 2022-05-12 16:34:02 -07:00
rustc_serialize Cache more queries on disk. 2022-05-13 08:06:48 +02:00
rustc_session Finish bumping stage0 2022-05-27 07:36:17 -04:00
rustc_span Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_symbol_mangling Auto merge of #96883 - jackh726:early-binder-2, r=oli-obk 2022-05-14 23:53:11 +00:00
rustc_target Simplify implementation of -Z gcc-ld 2022-05-25 23:55:22 +03:00
rustc_trait_selection Fix comment in poly_project_and_unify_type 2022-05-31 10:13:05 -07:00
rustc_traits Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
rustc_ty_utils Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_type_ir Make TyCtxt implement Interner, make HashStable generic and move to rustc_type_ir 2022-05-28 12:16:05 -07:00
rustc_typeck Rollup merge of #97399 - SparrowLii:arg_index, r=oli-obk 2022-06-01 23:36:47 +09:00