Skip to content

Commit

Permalink
Format markdown and YAML files
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Dec 31, 2020
1 parent eb458a2 commit d303279
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- master
- staging
schedule:
- cron: '0 1 * * *'
- cron: "0 1 * * *"

env:
CARGO_INCREMENTAL: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v*'
- "v*"

jobs:
create-release:
Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project

- [Support `Self` in fields and generics in type definitions.][245]

- [Fix errors involving _"`self` value is a keyword only available in methods with `self` parameter"_ in apparently correct code.][250]
- [Fix errors involving *"`self` value is a keyword only available in methods with `self` parameter"* in apparently correct code.][250]

- Diagnostic improvements.

Expand Down Expand Up @@ -173,7 +173,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
}
```

_The `Replace` argument will be deprecated in the future._
*The `Replace` argument will be deprecated in the future.*

- Suppress `unreachable_pub` lint in generated code.

Expand Down Expand Up @@ -255,7 +255,7 @@ See also [tracking issue for 1.0 release](https://github.com/taiki-e/pin-project
}
```

_[Note: This raises the minimum supported Rust version of this crate from Rust 1.33 to Rust 1.34.](https://github.com/taiki-e/pin-project/pull/219#pullrequestreview-408644187)_
*[Note: This raises the minimum supported Rust version of this crate from Rust 1.33 to Rust 1.34.](https://github.com/taiki-e/pin-project/pull/219#pullrequestreview-408644187)*

- [Fixed an issue where duplicate `#[project]` attributes were ignored.][218]

Expand Down Expand Up @@ -663,7 +663,7 @@ See also [tracking issue for 0.4 release][21].

Initial release

[unreleased]: https://github.com/taiki-e/pin-project/compare/v1.0.2...HEAD
[Unreleased]: https://github.com/taiki-e/pin-project/compare/v1.0.2...HEAD
[1.0.2]: https://github.com/taiki-e/pin-project/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/taiki-e/pin-project/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/taiki-e/pin-project/compare/v1.0.0-alpha.1...v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ see [examples] directory for more examples and generated code.

## Related Projects

* [pin-project-lite]: A lightweight version of pin-project written with declarative macros.
- [pin-project-lite]: A lightweight version of pin-project written with declarative macros.

[pin-project-lite]: https://github.com/taiki-e/pin-project-lite

Expand Down
32 changes: 16 additions & 16 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@

### Basic usage of `#[pin_project]` on structs

* [example](struct-default.rs)
* [generated code](struct-default-expanded.rs)
- [example](struct-default.rs)
- [generated code](struct-default-expanded.rs)

### Basic usage of `#[pin_project]` on enums

* [example](enum-default.rs)
* [generated code](enum-default-expanded.rs)
- [example](enum-default.rs)
- [generated code](enum-default-expanded.rs)

### Manual implementation of `Unpin` by `UnsafeUnpin`

* [example](unsafe_unpin.rs)
* [generated code](unsafe_unpin-expanded.rs)
* [`UnsafeUnpin` documentation](https://docs.rs/pin-project/1/pin_project/trait.UnsafeUnpin.html)
- [example](unsafe_unpin.rs)
- [generated code](unsafe_unpin-expanded.rs)
- [`UnsafeUnpin` documentation](https://docs.rs/pin-project/1/pin_project/trait.UnsafeUnpin.html)

### Manual implementation of `Drop` by `#[pinned_drop]`

* [example](pinned_drop.rs)
* [generated code](pinned_drop-expanded.rs)
* [`#[pinned_drop]` documentation](https://docs.rs/pin-project/1/pin_project/attr.pinned_drop.html)
- [example](pinned_drop.rs)
- [generated code](pinned_drop-expanded.rs)
- [`#[pinned_drop]` documentation](https://docs.rs/pin-project/1/pin_project/attr.pinned_drop.html)

### `project_replace()` method

* [example](project_replace.rs)
* [generated code](project_replace-expanded.rs)
* [`project_replace()` documentation](https://docs.rs/pin-project/1/pin_project/attr.pin_project.html#project_replace)
- [example](project_replace.rs)
- [generated code](project_replace-expanded.rs)
- [`project_replace()` documentation](https://docs.rs/pin-project/1/pin_project/attr.pin_project.html#project_replace)

### Ensure `!Unpin` by `#[pin_project(!Unpin)]`

* [example](not_unpin.rs)
* [generated code](not_unpin-expanded.rs)
* [`!Unpin` documentation](https://docs.rs/pin-project/1/pin_project/attr.pin_project.html#unpin)
- [example](not_unpin.rs)
- [generated code](not_unpin-expanded.rs)
- [`!Unpin` documentation](https://docs.rs/pin-project/1/pin_project/attr.pin_project.html#unpin)

Note: These generated code examples are the little simplified version of the
actual generated code. See [expansion tests](../tests/expand/README.md) if you
Expand Down

0 comments on commit d303279

Please sign in to comment.