Merge pull request #820 from hosmanadam/patch-1

Remove redundant 'if' from sentence
This commit is contained in:
Ilya Kantor 2019-03-02 23:23:17 +03:00 committed by GitHub
commit 148b389d21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,7 @@ Further, `resolve`/`reject` expect only one argument and will ignore additional
````
```smart header="Reject with `Error` objects"
In case if something goes wrong, we can call `reject` with any type of argument (just like `resolve`). But it is recommended to use `Error` objects (or objects that inherit from `Error`). The reasoning for that will soon become apparent.
In case something goes wrong, we can call `reject` with any type of argument (just like `resolve`). But it is recommended to use `Error` objects (or objects that inherit from `Error`). The reasoning for that will soon become apparent.
```
````smart header="Immediately calling `resolve`/`reject`"