fix: lint issues in `fetch` example (#989)
* build: add common tasks * test: resolve check-style issues
This commit is contained in:
parent
b4996769c1
commit
3ba4f62cef
|
@ -1,3 +1,5 @@
|
|||
extend = [{ path = "../cargo-make/common.toml" }]
|
||||
|
||||
[tasks.build]
|
||||
command = "cargo"
|
||||
args = ["+nightly", "build-all-features"]
|
||||
|
|
|
@ -14,7 +14,7 @@ pub enum FetchError {
|
|||
#[error("Error loading data from serving.")]
|
||||
Request,
|
||||
#[error("Error deserializaing cat data from request.")]
|
||||
Json
|
||||
Json,
|
||||
}
|
||||
|
||||
async fn fetch_cats(count: u32) -> Result<Vec<String>, FetchError> {
|
||||
|
|
Loading…
Reference in New Issue