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/serde
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.117
Choose a base ref
...
head repository: serde-rs/serde
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.118
Choose a head ref
  • 9 commits
  • 12 files changed
  • 2 contributors

Commits on Oct 21, 2020

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

Commits on Oct 28, 2020

  1. Resolve ptr_eq clippy lint

        error: use `std::ptr::eq` when comparing raw pointers
           --> serde_derive/src/de.rs:362:12
            |
        362 |         if field as *const Field == transparent_field as *const Field {
            |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::ptr::eq(field, transparent_field)`
            |
        note: the lint level is defined here
           --> serde_derive/src/lib.rs:18:9
            |
        18  | #![deny(clippy::all, clippy::pedantic)]
            |         ^^^^^^^^^^^
            = note: `#[deny(clippy::ptr_eq)]` implied by `#[deny(clippy::all)]`
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_eq
    dtolnay committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    0d5b6c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e1c409 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2020

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

Commits on Nov 24, 2020

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

Commits on Nov 29, 2020

  1. Configuration menu
    Copy the full SHA
    192c781 View commit details
    Browse the repository at this point in the history
  2. Resolve clippy items_after_statements lint

        error: adding items after statements is confusing, since items exist from the start of the scope
            --> serde/src/de/impls.rs:1876:9
             |
        1876 | /         impl<'de> Deserialize<'de> for Field {
        1877 | |             fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
        1878 | |             where
        1879 | |                 D: Deserializer<'de>,
        ...    |
        1917 | |             }
        1918 | |         }
             | |_________^
             |
        note: the lint level is defined here
            --> serde/src/lib.rs:95:52
             |
        95   | #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
             |                                                    ^^^^^^^^^^^^^^^
             = note: `#[deny(clippy::items_after_statements)]` implied by `#[deny(clippy::pedantic)]`
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
    
        error: adding items after statements is confusing, since items exist from the start of the scope
            --> serde/src/de/impls.rs:1920:9
             |
        1920 |         struct DurationVisitor;
             |         ^^^^^^^^^^^^^^^^^^^^^^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
    
        error: adding items after statements is confusing, since items exist from the start of the scope
            --> serde/src/de/impls.rs:1922:9
             |
        1922 | /         impl<'de> Visitor<'de> for DurationVisitor {
        1923 | |             type Value = Duration;
        1924 | |
        1925 | |             fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
        ...    |
        1979 | |             }
        1980 | |         }
             | |_________^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
    
        error: adding items after statements is confusing, since items exist from the start of the scope
            --> serde/src/de/impls.rs:1982:9
             |
        1982 |         const FIELDS: &'static [&'static str] = &["secs", "nanos"];
             |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
    
        error: adding items after statements is confusing, since items exist from the start of the scope
            --> serde/src/de/impls.rs:2001:9
             |
        2001 | /         impl<'de> Deserialize<'de> for Field {
        2002 | |             fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
        2003 | |             where
        2004 | |                 D: Deserializer<'de>,
        ...    |
        2042 | |             }
        2043 | |         }
             | |_________^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
    
        error: adding items after statements is confusing, since items exist from the start of the scope
            --> serde/src/de/impls.rs:2045:9
             |
        2045 |         struct DurationVisitor;
             |         ^^^^^^^^^^^^^^^^^^^^^^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
    
        error: adding items after statements is confusing, since items exist from the start of the scope
            --> serde/src/de/impls.rs:2047:9
             |
        2047 | /         impl<'de> Visitor<'de> for DurationVisitor {
        2048 | |             type Value = Duration;
        2049 | |
        2050 | |             fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
        ...    |
        2108 | |             }
        2109 | |         }
             | |_________^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
    
        error: adding items after statements is confusing, since items exist from the start of the scope
            --> serde/src/de/impls.rs:2111:9
             |
        2111 |         const FIELDS: &'static [&'static str] = &["secs_since_epoch", "nanos_since_epoch"];
             |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
    dtolnay committed Nov 29, 2020
    Configuration menu
    Copy the full SHA
    8472192 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2020

  1. Merge pull request #1926 from attente/core-num-wrapping

    Allow serializing of Wrapping without std
    dtolnay authored Dec 5, 2020
    Configuration menu
    Copy the full SHA
    4a335f8 View commit details
    Browse the repository at this point in the history
  2. Release 1.0.118

    dtolnay committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    e797431 View commit details
    Browse the repository at this point in the history
Loading