Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
b97487b
Add check for doc alias attribute format
GuillaumeGomez May 30, 2020
2d6267a
Add test for doc alias attribute validation
GuillaumeGomez May 30, 2020
0c5c644
Mention that BTreeMap::new() doesn't allocate
TrolledWoods Jun 1, 2020
7ef9eb3
Merge pull request #4 from rust-lang/master
richkadel Jun 18, 2020
791cccc
Merge pull request #5 from rust-lang/master
richkadel Jun 19, 2020
8c7c84b
code coverage foundation for hash and num_counters
richkadel Jun 18, 2020
8fc2eeb
Use newtype to map from `Local` to `GeneratorSavedLocal`
ecstatic-morse Jun 10, 2020
c178e64
Look for stores between non-conflicting generator saved locals
ecstatic-morse Jun 10, 2020
b2ec645
Incorporate review suggestions
ecstatic-morse Jun 19, 2020
95f8daa
Fix -Z unpretty=everybody_loops
jyn514 Jun 20, 2020
f60513e
Move remaining `NodeId` APIs from `Definitions` to `Resolver`
marmeladema Jun 20, 2020
1d3f49f
Always create a root definition when creating a new `Definitions` obj…
marmeladema Jun 21, 2020
bd4f6f0
Move `next_disambiguator` to `Resolver`
marmeladema Jun 21, 2020
933fe80
num_counters to u32, after implementing TypeFoldable
richkadel Jun 22, 2020
932237b
fix `intrinsics::needs_drop` docs
lcnr Jun 22, 2020
3ed96a6
Point at the call spawn when overflow occurs during monomorphization
Aaron1011 Jun 22, 2020
f4a7938
implemented query for coverage data
richkadel Jun 22, 2020
f84b7e1
Provide context on E0308 involving fn items
estebank Jun 22, 2020
994d9d0
Address remaining feedback items
richkadel Jun 22, 2020
08ec4cb
moves coverage data computation from pass to query
richkadel Jun 23, 2020
3d0192e
PR no longer requires u32 impl TypeFoldable
richkadel Jun 23, 2020
a045140
using "mir_body" (vs "body") in InstrumentCoverage
richkadel Jun 23, 2020
977ce57
Updated query for num_counters to compute from max index
richkadel Jun 23, 2020
0c2b025
rustc: Modernize wasm checks for atomics
alexcrichton Jun 23, 2020
6e8aa1f
review comments: wording and style
estebank Jun 23, 2020
558fd6d
Rollup merge of #72780 - GuillaumeGomez:enforce-doc-alias-check, r=ol…
Manishearth Jun 23, 2020
eb061aa
Rollup merge of #72876 - TrolledWoods:patch-2, r=Dylan-DPC
Manishearth Jun 23, 2020
9ac2c1d
Rollup merge of #73244 - ecstatic-morse:validate-generator-mir, r=tma…
Manishearth Jun 23, 2020
feb1082
Rollup merge of #73488 - richkadel:llvm-coverage-map-gen, r=tmandry
Manishearth Jun 23, 2020
92879b0
Rollup merge of #73523 - jyn514:everybody_loops, r=ecstatic-morse
Manishearth Jun 23, 2020
7345a6c
Rollup merge of #73587 - marmeladema:hir-id-ification-final, r=petroc…
Manishearth Jun 23, 2020
9baefc7
Rollup merge of #73601 - Aaron1011:fix/better-mono-overflow-err, r=ec…
Manishearth Jun 23, 2020
9274c3e
Rollup merge of #73614 - lcnr:patch-4, r=Dylan-DPC
Manishearth Jun 23, 2020
07abff5
Rollup merge of #73630 - estebank:fn-item-e0308, r=davidtwco
Manishearth Jun 23, 2020
3b69fe1
Rollup merge of #73665 - alexcrichton:update-wasm-atomics-feature, r=…
Manishearth Jun 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mention that BTreeMap::new() doesn't allocate
I think it would be nice to mention this, so you don't have to dig through the src to look at the definition of new().
  • Loading branch information
TrolledWoods authored Jun 1, 2020
commit 0c5c644c91edf6ed949cfa5ffc524f43369df604
2 changes: 2 additions & 0 deletions src/liballoc/collections/btree/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,8 @@ struct MergeIter<K, V, I: Iterator<Item = (K, V)>> {
impl<K: Ord, V> BTreeMap<K, V> {
/// Makes a new empty BTreeMap with a reasonable choice for B.
///
/// Does not allocate anything on its own.
///
/// # Examples
///
/// Basic usage:
Expand Down