Skip to content

Commit

Permalink
Use #[expect(clippy:...)]
Browse files Browse the repository at this point in the history
  • Loading branch information
algesten committed Sep 5, 2024
1 parent 75f7dae commit 3666de2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cookies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub struct CookieJar<'a>(MutexGuard<'a, CookieStore>);
/// ```
pub struct Cookie<'a>(CookieInner<'a>);

#[allow(clippy::large_enum_variant)]
#[expect(clippy::large_enum_variant)]

Check failure on line 42 in src/cookies.rs

View workflow job for this annotation

GitHub Actions / build_versions (1.67.0)

the `#[expect]` attribute is an experimental feature

Check failure on line 42 in src/cookies.rs

View workflow job for this annotation

GitHub Actions / build_versions (1.67.0)

the `#[expect]` attribute is an experimental feature
enum CookieInner<'a> {
Borrowed(&'a cookie_store::Cookie<'a>),
Owned(cookie_store::Cookie<'a>),
Expand Down
2 changes: 1 addition & 1 deletion src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fn flow_run(
}

/// Return type of [`flow_run`].
#[allow(clippy::large_enum_variant)]
#[expect(clippy::large_enum_variant)]

Check failure on line 183 in src/run.rs

View workflow job for this annotation

GitHub Actions / build_versions (1.67.0)

the `#[expect]` attribute is an experimental feature

Check failure on line 183 in src/run.rs

View workflow job for this annotation

GitHub Actions / build_versions (1.67.0)

the `#[expect]` attribute is an experimental feature
enum FlowResult {
/// Flow resulted in a redirect.
Redirect(Flow<Redirect>, CallTimings),
Expand Down

0 comments on commit 3666de2

Please sign in to comment.