Update CI
This commit is contained in:
parent
f4748c4b35
commit
6f8e3fe033
|
@ -51,7 +51,7 @@ jobs:
|
|||
submodules: true
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
toolchain: nightly
|
||||
override: true
|
||||
components: rustfmt
|
||||
- name: Check format
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#[cfg(feature = "tokio-sync")]
|
||||
mod rw_lock;
|
||||
#[cfg(feature = "tokio-sync")]
|
||||
mod mutex;
|
||||
#[cfg(feature = "tokio-sync")]
|
||||
mod rw_lock;
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
use tokio::sync::Mutex;
|
||||
use std::borrow::Cow;
|
||||
|
||||
use async_graphql_parser::types::Field;
|
||||
use tokio::sync::Mutex;
|
||||
|
||||
use crate::{registry, ContextSelectionSet, OutputType, Positioned, ServerResult, Value};
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl<T: OutputType> OutputType for Mutex<T>
|
||||
{
|
||||
impl<T: OutputType> OutputType for Mutex<T> {
|
||||
fn type_name() -> Cow<'static, str> {
|
||||
T::type_name()
|
||||
}
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
use tokio::sync::RwLock;
|
||||
use std::borrow::Cow;
|
||||
|
||||
use async_graphql_parser::types::Field;
|
||||
use tokio::sync::RwLock;
|
||||
|
||||
use crate::{registry, ContextSelectionSet, OutputType, Positioned, ServerResult, Value};
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl<T: OutputType> OutputType for RwLock<T>
|
||||
{
|
||||
impl<T: OutputType> OutputType for RwLock<T> {
|
||||
fn type_name() -> Cow<'static, str> {
|
||||
T::type_name()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue