Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retain to Map #822

Merged
merged 9 commits into from Nov 13, 2021
Merged

Add retain to Map #822

merged 9 commits into from Nov 13, 2021

Commits on Nov 12, 2021

  1. Add retain to Map

    This adds the `retain` function to the Map type which calls the inner
    maps, Either indexmap or std BTreeMap's, retain.
    
    I'm trying to mutate a Value::Object's Map in-place and could't find a
    nice way without the retain function.
    Dean Karn committed Nov 12, 2021
    Copy the full SHA
    d275e04 View commit details
    Browse the repository at this point in the history
  2. only include retain for BTreeMap if Rust 1.53.0+

    Dean Karn committed Nov 12, 2021
    Copy the full SHA
    0992b44 View commit details
    Browse the repository at this point in the history
  3. test order

    Dean Karn committed Nov 12, 2021
    Copy the full SHA
    09c5892 View commit details
    Browse the repository at this point in the history
  4. fix no_btreemap_retain name

    Dean Karn committed Nov 12, 2021
    Copy the full SHA
    eaa1a31 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    29a58a3 View commit details
    Browse the repository at this point in the history
  6. fix function signature

    Dean Karn committed Nov 12, 2021
    Copy the full SHA
    68d3b45 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Update build.rs

    Co-authored-by: David Tolnay <dtolnay@gmail.com>
    deankarn and dtolnay committed Nov 13, 2021
    Copy the full SHA
    9e36f61 View commit details
    Browse the repository at this point in the history
  2. remove duplicate function

    Dean Karn committed Nov 13, 2021
    Copy the full SHA
    debd7d0 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of github.com:deankarn/json

    Dean Karn committed Nov 13, 2021
    Copy the full SHA
    2e5b990 View commit details
    Browse the repository at this point in the history