Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: serde-rs/json
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.85
Choose a base ref
...
head repository: serde-rs/json
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.86
Choose a head ref
  • 10 commits
  • 7 files changed
  • 2 contributors

Commits on Aug 31, 2022

  1. Configuration menu
    Copy the full SHA
    5f801ea View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Resolve needless_borrow clippy lints

        error: the borrowed expression implements the required traits
           --> src/value/ser.rs:198:60
            |
        198 |         values.insert(String::from(variant), tri!(to_value(&value)));
            |                                                            ^^^^^^ help: change this to: `value`
            |
            = note: `-D clippy::needless-borrow` implied by `-D clippy::all`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    
        error: the borrowed expression implements the required traits
           --> src/value/ser.rs:317:37
            |
        317 |         self.vec.push(tri!(to_value(&value)));
            |                                     ^^^^^^ help: change this to: `value`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    
        error: the borrowed expression implements the required traits
           --> src/value/ser.rs:366:37
            |
        366 |         self.vec.push(tri!(to_value(&value)));
            |                                     ^^^^^^ help: change this to: `value`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    
        error: the borrowed expression implements the required traits
           --> src/value/ser.rs:409:47
            |
        409 |                 map.insert(key, tri!(to_value(&value)));
            |                                               ^^^^^^ help: change this to: `value`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    
        error: the borrowed expression implements the required traits
           --> src/value/ser.rs:666:58
            |
        666 |         self.map.insert(String::from(key), tri!(to_value(&value)));
            |                                                          ^^^^^^ help: change this to: `value`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    
        error: the borrowed expression implements the required traits
          --> tests/test.rs:98:26
           |
        98 |         let v = to_value(&value).unwrap();
           |                          ^^^^^^ help: change this to: `value`
           |
           = note: `-D clippy::needless-borrow` implied by `-D clippy::all`
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    
        error: the borrowed expression implements the required traits
           --> tests/test.rs:114:26
            |
        114 |         let v = to_value(&value).unwrap();
            |                          ^^^^^^ help: change this to: `value`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    dtolnay committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    7af05a9 View commit details
    Browse the repository at this point in the history
  2. Resolve manual_string_new pedantic clippy lint in test

        error: empty String is being created manually
            --> tests/test.rs:1110:18
             |
        1110 |         ("\"\"", "".to_string()),
             |                  ^^^^^^^^^^^^^^ help: consider using: `String::new()`
             |
             = note: `-D clippy::manual-string-new` implied by `-D clippy::pedantic`
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_string_new
    dtolnay committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    9af8517 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d64ffdc View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2022

  1. Configuration menu
    Copy the full SHA
    ec72b27 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Remove default package.readme metadata from Cargo.toml

    Since cargo 1.46.0, README.md is recognized by default.
    dtolnay committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    94019a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2022

  1. Merge pull request #928 from kvinwang/nostd-arbp

    arbitrary_precision without std
    dtolnay authored Oct 9, 2022
    Configuration menu
    Copy the full SHA
    54f9685 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ab65c5 View commit details
    Browse the repository at this point in the history
  3. Reorganize number.rs imports

    dtolnay committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    99d6164 View commit details
    Browse the repository at this point in the history
  4. Release 1.0.86

    dtolnay committed Oct 9, 2022
    Configuration menu
    Copy the full SHA
    4217e8e View commit details
    Browse the repository at this point in the history
Loading