Skip to content

Commit e2aad08

Browse files
authored
Miscellaneous housekeeping (#4735)
2 parents c86ba8a + 925a41e commit e2aad08

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Please see LICENSE files in the repository root for full details.
55

66
# Rust
7-
target/
7+
target
88

99
# Editors
1010
.idea

clippy.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ disallowed-methods = [
1515
]
1616

1717
disallowed-types = [
18-
"rand::OsRng",
1918
{ path = "std::path::PathBuf", reason = "use camino::Utf8PathBuf instead" },
2019
{ path = "std::path::Path", reason = "use camino::Utf8Path instead" },
2120
]

crates/handlers/src/graphql/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,7 @@ pub async fn post(
341341

342342
let request = async_graphql::http::receive_body(
343343
content_type,
344-
body.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
345-
.into_async_read(),
344+
body.map_err(std::io::Error::other).into_async_read(),
346345
MultipartOptions::default(),
347346
)
348347
.await?

crates/storage/src/compat/access_token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use ulid::Ulid;
1313
use crate::{Clock, repository_impl};
1414

1515
/// A [`CompatAccessTokenRepository`] helps interacting with
16-
/// [`CompatAccessToken`] saved in the storage backend
16+
/// [`CompatAccessToken`] saved in the storage backend
1717
#[async_trait]
1818
pub trait CompatAccessTokenRepository: Send + Sync {
1919
/// The error type returned by the repository

crates/storage/src/oauth2/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use url::Url;
1717

1818
use crate::{Clock, repository_impl};
1919

20-
/// An [`OAuth2ClientRepository`] helps interacting with [`Client`] saved in the
20+
/// An [`OAuth2ClientRepository`] helps interacting with [`Client`] saved in the
2121
/// storage backend
2222
#[async_trait]
2323
pub trait OAuth2ClientRepository: Send + Sync {

0 commit comments

Comments
 (0)