diff options
| author | Ralf Jung <post@ralfj.de> | 2018-10-10 09:16:05 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-10-10 09:16:05 +0200 |
| commit | e4434be6b7caa1261fa1500d321c20a59f9953b1 (patch) | |
| tree | 5ecabb235d1b79e3fb38aaecfa81a7956b53de04 /src/liballoc | |
| parent | faa733dd18e5bf5b24cba387703b423489b8b09c (diff) | |
| download | rust-e4434be6b7caa1261fa1500d321c20a59f9953b1.tar.gz rust-e4434be6b7caa1261fa1500d321c20a59f9953b1.zip | |
remove a now outdated comment
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/collections/btree/node.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/liballoc/collections/btree/node.rs b/src/liballoc/collections/btree/node.rs index c86278fc5dd..deca9591fbd 100644 --- a/src/liballoc/collections/btree/node.rs +++ b/src/liballoc/collections/btree/node.rs @@ -58,9 +58,6 @@ pub const CAPACITY: usize = 2 * B - 1; /// these should always be put behind pointers, and specifically behind `BoxedNode` in the owned /// case. /// -/// See also rust-lang/rfcs#197, which would make this structure significantly more safe by -/// avoiding accidentally dropping unused and uninitialized keys and values. -/// /// We put the metadata first so that its position is the same for every `K` and `V`, in order /// to statically allocate a single dummy node to avoid allocations. This struct is `repr(C)` to /// prevent them from being reordered. |
