Skip to content

Commit

Permalink
Fixed a few hiccups
Browse files Browse the repository at this point in the history
- A missing feature on syn preventing pretend-codegen to compile
- An invalid link on pretend::client documentation
  • Loading branch information
SfietKonstantin committed May 10, 2021
1 parent 4eda84d commit d84a296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pretend-codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ lazy_static = "1.4"
proc-macro2 = "1.0"
quote = "1.0"
regex = "1.5"
syn = "1.0"
syn = { version = "1.0", features = ["full"] }
thiserror = "1.0"
4 changes: 2 additions & 2 deletions pretend/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
//! This method takes a method, url, header and body (as raw bytes) and should return
//! a response with raw bytes as body.
//!
//! Implementations should be marked with [`client::async_trait`] due to Rust limitations
//! with futures and traits.
//! Implementations should be marked with [`client::async_trait`](`self::async_trait`) due to Rust
//! limitations with futures and traits.
pub use async_trait::async_trait;
pub use bytes::Bytes;
Expand Down

0 comments on commit d84a296

Please sign in to comment.