Skip to content

Commit

Permalink
fix: compile fail on latest nightly (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWhiteWu authored Apr 13, 2023
1 parent c2045bb commit 215cd1b
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 66 deletions.
140 changes: 80 additions & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub trait Service<Cx, Request> {

## Getting Started

Combing GAT and `type_alias_impl_trait` together, we can write asynchronous code in a very concise and readable way.
Combing GAT and `impl_trait_in_assoc_type` together, we can write asynchronous code in a very concise and readable way.

```rust
pub struct Timeout<S> {
Expand Down
2 changes: 1 addition & 1 deletion motore-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "motore-macros"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
description = """
Motore's proc macros.
Expand Down
2 changes: 1 addition & 1 deletion motore-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use syn::{parse_macro_input, parse_quote, spanned::Spanned, ItemImpl, PatType, T
/// # Example
///
/// ```rust
/// #![feature(type_alias_impl_trait)]
/// #![feature(impl_trait_in_assoc_type)]
/// use motore::{service, Service};
///
/// pub struct S<I> {
Expand Down
2 changes: 1 addition & 1 deletion motore/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "motore"
version = "0.3.2"
version = "0.3.3"
edition = "2021"
description = """
Motore is a library of modular and reusable components for building robust
Expand Down
2 changes: 1 addition & 1 deletion motore/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![cfg_attr(docsrs, feature(doc_cfg))]
#![feature(type_alias_impl_trait)]
#![feature(impl_trait_in_assoc_type)]
#![doc(
html_logo_url = "https://github.com/cloudwego/motore/raw/main/.github/assets/logo.png?sanitize=true"
)]
Expand Down
2 changes: 1 addition & 1 deletion motore/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub use tower_adapter::*;
/// As an example, here is how an HTTP request is processed by a server:
///
/// ```rust
/// #![feature(type_alias_impl_trait)]
/// #![feature(impl_trait_in_assoc_type)]
///
/// use std::future::Future;
///
Expand Down

0 comments on commit 215cd1b

Please sign in to comment.