Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace path to cargo registry with normalized path #117

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

bkchr
Copy link
Contributor

@bkchr bkchr commented Jul 26, 2021

This is required as the path is different for every user.

Old behavior:

   ::: /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/parity-scale-codec-2.2.0/src/codec.rs:284:18
    |
284 |     fn decode<I: Input>(input: &mut I) -> Result<Self, Error>;
    |                  ----- required by this bound in `pallet::_::_parity_scale_codec::Decode::decode`

New behavior:

   ::: $CARGO_REGISTRY/github.com-1ecc6299db9ec823/parity-scale-codec-2.2.0/src/codec.rs
    |
    |     fn decode<I: Input>(input: &mut I) -> Result<Self, Error>;
    |                  ----- required by this bound in `pallet::_::_parity_scale_codec::Decode::decode`

This is required as the path is different for every user.

Old behavior:
```
   ::: /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/parity-scale-codec-2.2.0/src/codec.rs:284:18
    |
284 |     fn decode<I: Input>(input: &mut I) -> Result<Self, Error>;
    |                  ----- required by this bound in `pallet::_::_parity_scale_codec::Decode::decode`
```

New behavior:
```
   ::: $CARGO_REGISTRY/github.com-1ecc6299db9ec823/parity-scale-codec-2.2.0/src/codec.rs
    |
    |     fn decode<I: Input>(input: &mut I) -> Result<Self, Error>;
    |                  ----- required by this bound in `pallet::_::_parity_scale_codec::Decode::decode`
```
@bkchr
Copy link
Contributor Author

bkchr commented Jul 26, 2021

CC @dtolnay

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 3395fde into dtolnay:master Jul 26, 2021
@bkchr bkchr deleted the bkchr-cargo-registry branch July 27, 2021 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants