Change "is failed" to "failed"
This commit is contained in:
committed by
İnanç Gümüş
parent
455532393c
commit
0670c8dff7
@ -61,13 +61,13 @@ func Reset()
|
|||||||
|
|
||||||
|
|
||||||
## Let's say a function returns a nil error value. So, what does that mean?
|
## Let's say a function returns a nil error value. So, what does that mean?
|
||||||
1. The function call is failed.
|
1. The function call failed.
|
||||||
2. The function call is successful. *CORRECT*
|
2. The function call is successful. *CORRECT*
|
||||||
3. The function call is in an indeterministic state. We can't know.
|
3. The function call is in an indeterministic state. We can't know.
|
||||||
|
|
||||||
|
|
||||||
## Let's say a function returns a non-nil error value. So, what does that mean?
|
## Let's say a function returns a non-nil error value. So, what does that mean?
|
||||||
1. The function call is failed. *CORRECT*
|
1. The function call failed. *CORRECT*
|
||||||
2. The function call is successful.
|
2. The function call is successful.
|
||||||
3. The function call is in an indeterministic state. We can't know.
|
3. The function call is in an indeterministic state. We can't know.
|
||||||
|
|
||||||
@ -141,4 +141,4 @@ func main() {
|
|||||||
>
|
>
|
||||||
> **2:** Actually, it does.
|
> **2:** Actually, it does.
|
||||||
>
|
>
|
||||||
> **3:** No, it does not. It only prints it when there isn't an error.
|
> **3:** No, it does not. It only prints it when there isn't an error.
|
||||||
|
Reference in New Issue
Block a user