diff options
| author | KarlWithK <cjh16@rice.edu> | 2022-06-15 02:04:18 -0500 |
|---|---|---|
| committer | KarlWithK <cjh16@rice.edu> | 2022-06-15 02:04:18 -0500 |
| commit | cec72acdcae939023d7d4e09ad1b06d49f269276 (patch) | |
| tree | 4ec73546952bc8f46cc2617625c12cccf218f8d5 /src/librustdoc/html/static/js/source-script.js | |
| parent | d3d22e1e664d33519ddc1b4bbc00cc93eed3e7be (diff) | |
| download | rust-cec72acdcae939023d7d4e09ad1b06d49f269276.tar.gz rust-cec72acdcae939023d7d4e09ad1b06d49f269276.zip | |
Add examples using `add_modify` to btree
Updated the btree's documentation to include two references to add_modify. The first is when the `Entry` API is mentioned at the beginning. With the same reasoning as HashMap's documentation, I thought it would best to keep `attack`, but show the `mana` example. The second is with the `entry` function that is used for the `Entry` API. The code example was a perfect use for `add_modify`, which is why it was changed to reflect that.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions
