Thanks to visit codestin.com
Credit goes to github.com

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: dtolnay/async-trait
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.1.86
Choose a base ref
...
head repository: dtolnay/async-trait
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.1.87
Choose a head ref
  • 5 commits
  • 5 files changed
  • 1 contributor

Commits on Feb 12, 2025

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

Commits on Feb 20, 2025

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

Commits on Mar 3, 2025

  1. Ignore elidable_lifetime_names pedantic clippy lint

        warning: the following explicit lifetimes could be elided: 'a
           --> src/expand.rs:445:10
            |
        445 |     impl<'a> VisitMut for AssociatedTypeImplTraits<'a> {
            |          ^^                                        ^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
            = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
            = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
        help: elide the lifetimes
            |
        445 -     impl<'a> VisitMut for AssociatedTypeImplTraits<'a> {
        445 +     impl VisitMut for AssociatedTypeImplTraits<'_> {
            |
    
        warning: the following explicit lifetimes could be elided: 'a
            --> tests/test.rs:1432:10
             |
        1432 |     impl<'a> Drop for IncrementOnDrop<'a> {
             |          ^^                           ^^
             |
             = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
             = note: `-W clippy::elidable-lifetime-names` implied by `-W clippy::pedantic`
             = help: to override `-W clippy::pedantic` add `#[allow(clippy::elidable_lifetime_names)]`
        help: elide the lifetimes
             |
        1432 -     impl<'a> Drop for IncrementOnDrop<'a> {
        1432 +     impl Drop for IncrementOnDrop<'_> {
             |
    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    45fd82a View commit details
    Browse the repository at this point in the history
  2. Resolve mem_replace_with_default clippy lint

        warning: replacing a value of type `T` with `T::default()` is better expressed using `std::mem::take`
           --> src/expand.rs:195:30
            |
        195 |                 let bounds = mem::replace(&mut param.bounds, Punctuated::new());
            |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::mem::take(&mut param.bounds)`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default
            = note: `-W clippy::mem-replace-with-default` implied by `-W clippy::all`
            = help: to override `-W clippy::all` add `#[allow(clippy::mem_replace_with_default)]`
    
        warning: replacing a value of type `T` with `T::default()` is better expressed using `std::mem::take`
           --> src/expand.rs:206:30
            |
        206 |                 let bounds = mem::replace(&mut param.bounds, Punctuated::new());
            |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::mem::take(&mut param.bounds)`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default
    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    137d14c View commit details
    Browse the repository at this point in the history
  3. Release 0.1.87

    dtolnay committed Mar 3, 2025
    Configuration menu
    Copy the full SHA
    32540aa View commit details
    Browse the repository at this point in the history
Loading