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.134
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.135
Choose a head ref
  • 4 commits
  • 4 files changed
  • 2 contributors

Commits on Dec 27, 2024

  1. Resolve precedence clippy lint

        warning: operator precedence can trip the unwary
           --> src/read.rs:963:18
            |
        963 |         let n = (((n1 - 0xD800) as u32) << 10 | (n2 - 0xDC00) as u32) + 0x1_0000;
            |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(((n1 - 0xD800) as u32) << 10) | (n2 - 0xDC00) as u32`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
            = note: `-W clippy::precedence` implied by `-W clippy::all`
            = help: to override `-W clippy::all` add `#[allow(clippy::precedence)]`
    
        warning: operator precedence can trip the unwary
           --> src/read.rs:991:28
            |
        991 |                 ptr.write((n >> 6 & 0b0001_1111) as u8 | 0b1100_0000);
            |                            ^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(n >> 6) & 0b0001_1111`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
    
        warning: operator precedence can trip the unwary
           --> src/read.rs:995:28
            |
        995 |                 ptr.write((n >> 12 & 0b0000_1111) as u8 | 0b1110_0000);
            |                            ^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(n >> 12) & 0b0000_1111`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
    
        warning: operator precedence can trip the unwary
           --> src/read.rs:996:35
            |
        996 |                 ptr.add(1).write((n >> 6 & 0b0011_1111) as u8 | 0b1000_0000);
            |                                   ^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(n >> 6) & 0b0011_1111`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
    
        warning: operator precedence can trip the unwary
            --> src/read.rs:1000:28
             |
        1000 |                 ptr.write((n >> 18 & 0b0000_0111) as u8 | 0b1111_0000);
             |                            ^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(n >> 18) & 0b0000_0111`
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
    
        warning: operator precedence can trip the unwary
            --> src/read.rs:1002:29
             |
        1002 |                     .write((n >> 12 & 0b0011_1111) as u8 | 0b1000_0000);
             |                             ^^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(n >> 12) & 0b0011_1111`
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
    
        warning: operator precedence can trip the unwary
            --> src/read.rs:1003:35
             |
        1003 |                 ptr.add(2).write((n >> 6 & 0b0011_1111) as u8 | 0b1000_0000);
             |                                   ^^^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(n >> 6) & 0b0011_1111`
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence
    dtolnay committed Dec 27, 2024
    Configuration menu
    Copy the full SHA
    1e77cac View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2025

  1. Add Map::into_values method

    Signed-off-by: tison <wander4096@gmail.com>
    tisonkun committed Jan 7, 2025
    Configuration menu
    Copy the full SHA
    d48c224 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1226 from tisonkun/map-into-values

    Add Map::into_values method
    dtolnay authored Jan 7, 2025
    Configuration menu
    Copy the full SHA
    b97935f View commit details
    Browse the repository at this point in the history
  3. Release 1.0.135

    dtolnay committed Jan 7, 2025
    Configuration menu
    Copy the full SHA
    9802c08 View commit details
    Browse the repository at this point in the history
Loading