Skip to content

Commit

Permalink
Fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
la10736 committed May 30, 2024
1 parent b90fb8e commit 3867794
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## [0.20.0] 2024/5/30

### Changed

Expand All @@ -17,7 +17,7 @@ See [#241](https://github.com/la10736/rstest/issues/241) for more details. Thank
[#241](https://github.com/la10736/rstest/issues/241) for more details.
- [`PathBuf`](https://doc.rust-lang.org/std/path/struct.PathBuf.html) does no longer need to be
in scope when using `#[files]` (see [#242](https://github.com/la10736/rstest/pull/242))
- `#[from(now::accept::also::path::for::fixture)]` See [#246](https://github.com/la10736/rstest/issues/246)
- `#[from(now::accept::also::path::for::fixture)]` See [#246](https://github.com/la10736/rstest/issues/246)
for more details

## [0.19.0] 2024/4/9
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ following lines to your `Cargo.toml` file:

```toml
[dev-dependencies]
rstest = "0.19.0"
rstest = "0.20.0"
```

### Fixture
Expand Down Expand Up @@ -342,7 +342,7 @@ fn single(once_fixture: &i32) {
}
```

## Local timeout and `#[by_ref]` attribute
## Local lifetime and `#[by_ref]` attribute

In some cases you may want to use a local lifetime for some arguments of your test.
In these cases you can use the `#[by_ref]` attribute then use the reference instead
Expand Down
2 changes: 1 addition & 1 deletion rstest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ pub use rstest_macros::fixture;
/// in this case the `#[actix_rt::test]` attribute will replace the standard `#[test]`
/// attribute.
///
/// ## Local timeout and `#[by_ref]` attribute
/// ## Local lifetime and `#[by_ref]` attribute
///
/// In some cases you may want to use a local lifetime for some arguments of your test.
/// In these cases you can use the `#[by_ref]` attribute then use the reference instead
Expand Down

0 comments on commit 3867794

Please sign in to comment.