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: taiki-e/pin-project
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.4.16
Choose a base ref
...
head repository: taiki-e/pin-project
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.17
Choose a head ref
  • 7 commits
  • 25 files changed
  • 2 contributors

Commits on May 15, 2020

  1. Allow clippy::manual_non_exhaustive lint

    non_exhaustive requires Rust 1.40.
    taiki-e committed May 15, 2020
    Configuration menu
    Copy the full SHA
    8565b3d View commit details
    Browse the repository at this point in the history

Commits on May 17, 2020

  1. Cleanup CI config

    taiki-e committed May 17, 2020
    Configuration menu
    Copy the full SHA
    85394ef View commit details
    Browse the repository at this point in the history
  2. Merge #224

    224: Cleanup CI config r=taiki-e a=taiki-e
    
    * FIx minimal versions check.
    * Reduce CI time.
    
    
    Co-authored-by: Taiki Endo <[email protected]>
    bors[bot] and taiki-e authored May 17, 2020
    Configuration menu
    Copy the full SHA
    7216f6b View commit details
    Browse the repository at this point in the history
  3. Revert "Allow unused_braces in cargo doc"

    This reverts commit 1bc75fd.
    taiki-e committed May 17, 2020
    Configuration menu
    Copy the full SHA
    23997ca View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. Configuration menu
    Copy the full SHA
    5765137 View commit details
    Browse the repository at this point in the history
  2. Merge #202

    202: Allow naming the projected types r=taiki-e a=taiki-e
    
    By passing an argument with the same name as the method to the attribute, you can name the projection type returned from the method:
    
    ```rust
    #[pin_project(
        Replace,
        project = StructProj,
        project_ref = StructProjRef,
        project_replace = StructProjOwn,
    )]
    struct Struct<T> {
        #[pin]
        field: T,
    }
    
    let mut x = Struct { field: 0 };
    let StructProj { field } = Pin::new(&mut x).project();
    let StructProjRef { field } = Pin::new(&x).project_ref();
    let StructProjOwn { field } = Pin::new(&mut x).project_replace(Struct { field: 1 });
    ```
    
    cc #43
    Closes #124
    
    TODO: 
      * [x] add tests
      * [x] write docs 
      * [x] separate unrelated changes; done in #214
      * [x] msrv (`unrestricted_attribute_tokens` requires 1.34); done in #219 
    
    
    Co-authored-by: Taiki Endo <[email protected]>
    bors[bot] and taiki-e authored May 18, 2020
    Configuration menu
    Copy the full SHA
    3de876c View commit details
    Browse the repository at this point in the history
  3. Release 0.4.17

    taiki-e committed May 18, 2020
    Configuration menu
    Copy the full SHA
    449ff70 View commit details
    Browse the repository at this point in the history
Loading