Miscellaneous housekeeping (#4735)

This commit is contained in:
Quentin Gliech
2025-07-16 18:53:59 +02:00
committed by GitHub
5 changed files with 4 additions and 6 deletions

2
.gitignore vendored
View File

@@ -4,7 +4,7 @@
# Please see LICENSE files in the repository root for full details.
# Rust
target/
target
# Editors
.idea

View File

@@ -15,7 +15,6 @@ disallowed-methods = [
]
disallowed-types = [
"rand::OsRng",
{ path = "std::path::PathBuf", reason = "use camino::Utf8PathBuf instead" },
{ path = "std::path::Path", reason = "use camino::Utf8Path instead" },
]

View File

@@ -341,8 +341,7 @@ pub async fn post(
let request = async_graphql::http::receive_body(
content_type,
body.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
.into_async_read(),
body.map_err(std::io::Error::other).into_async_read(),
MultipartOptions::default(),
)
.await?

View File

@@ -13,7 +13,7 @@ use ulid::Ulid;
use crate::{Clock, repository_impl};
/// A [`CompatAccessTokenRepository`] helps interacting with
/// [`CompatAccessToken`] saved in the storage backend
/// [`CompatAccessToken`] saved in the storage backend
#[async_trait]
pub trait CompatAccessTokenRepository: Send + Sync {
/// The error type returned by the repository

View File

@@ -17,7 +17,7 @@ use url::Url;
use crate::{Clock, repository_impl};
/// An [`OAuth2ClientRepository`] helps interacting with [`Client`] saved in the
/// An [`OAuth2ClientRepository`] helps interacting with [`Client`] saved in the
/// storage backend
#[async_trait]
pub trait OAuth2ClientRepository: Send + Sync {