Skip to content

Commit 255bbdb

Browse files
committed
expect
1 parent 2ea01cb commit 255bbdb

File tree

172 files changed

+308
-305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+308
-305
lines changed

examples/rust/custom/benches/play_game.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![allow(clippy::unit_arg)]
1+
#![expect(clippy::unit_arg)]
22

33
#[global_allocator]
44
static ALLOC: dhat::Alloc = dhat::Alloc;

lib/api_auth/src/accept.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use bencher_schema::{
77
};
88
use dropshot::{endpoint, HttpError, RequestContext, TypedBody};
99

10-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
10+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
1111
#[endpoint {
1212
method = OPTIONS,
1313
path = "/v0/auth/accept",

lib/api_auth/src/confirm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use dropshot::{endpoint, HttpError, RequestContext, TypedBody};
1010

1111
use super::CLIENT_TOKEN_TTL;
1212

13-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
13+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
1414
#[endpoint {
1515
method = OPTIONS,
1616
path = "/v0/auth/confirm",

lib/api_auth/src/github.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use super::CLIENT_TOKEN_TTL;
1818

1919
pub const GITHUB_OAUTH2: &str = "GitHub OAuth2";
2020

21-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
21+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
2222
#[endpoint {
2323
method = OPTIONS,
2424
path = "/v0/auth/github",

lib/api_auth/src/login.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use slog::Logger;
1212
use super::AUTH_TOKEN_TTL;
1313
use super::TOKEN_ARG;
1414

15-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
15+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
1616
#[endpoint {
1717
method = OPTIONS,
1818
path = "/v0/auth/login",

lib/api_auth/src/signup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use slog::Logger;
1212
use super::AUTH_TOKEN_TTL;
1313
use super::TOKEN_ARG;
1414

15-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
15+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
1616
#[endpoint {
1717
method = OPTIONS,
1818
path = "/v0/auth/signup",

lib/api_checkout/src/checkout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use bencher_schema::{
1717
};
1818
use dropshot::{endpoint, HttpError, RequestContext, TypedBody};
1919

20-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
20+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
2121
#[endpoint {
2222
method = OPTIONS,
2323
path = "/v0/checkout",

lib/api_organizations/src/allowed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub struct OrgAllowedParams {
2020
pub permission: OrganizationPermission,
2121
}
2222

23-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
23+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
2424
#[endpoint {
2525
method = OPTIONS,
2626
path = "/v0/organizations/{organization}/allowed/{permission}",

lib/api_organizations/src/claim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub struct OrgClaimParams {
1818
pub organization: ResourceId,
1919
}
2020

21-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
21+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
2222
#[endpoint {
2323
method = OPTIONS,
2424
path = "/v0/organizations/{organization}/claim",

lib/api_organizations/src/members.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub struct OrgMembersQuery {
5353
pub search: Option<Search>,
5454
}
5555

56-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
56+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
5757
#[endpoint {
5858
method = OPTIONS,
5959
path = "/v0/organizations/{organization}/members",
@@ -327,7 +327,7 @@ pub struct OrgMemberParams {
327327
pub user: ResourceId,
328328
}
329329

330-
#[allow(clippy::no_effect_underscore_binding, clippy::unused_async)]
330+
#[expect(clippy::no_effect_underscore_binding, clippy::unused_async)]
331331
#[endpoint {
332332
method = OPTIONS,
333333
path = "/v0/organizations/{organization}/members/{user}",

0 commit comments

Comments
 (0)