softprops / hyperlocal

🔌 ✨rustlang hyper bindings for local unix domain sockets
MIT License
227 stars 46 forks source link

Add parenthesis to into_body method #34

Closed aaronsturm closed 4 years ago

aaronsturm commented 4 years ago

When trying to run the code in the README I got this error:

 let response_body = client.get(url).await?.into_body;
   |                                                ^^^^^^^^^ help: use parentheses to call the method: `into_body()`

Added the parenthesis fixed it as it stated.

softprops commented 4 years ago

Thanks @aaronsturm