diff --git a/MIGRATING.md b/MIGRATING.md index 076aee3..0ee9efe 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -22,7 +22,7 @@ res2 = Err('nay') ``` 2\. Result is now a Union type between `Ok[T]` and `Err[E]`. As such, you cannot use `isinstance(res, Result)` anymore. -These should be replaced by `isinstance(res, Result)`. As an example, the following code: +These should be replaced by `isinstance(res, OkErr)`. As an example, the following code: ```python from result import Ok, Result