summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJack Koenig2020-09-21 19:34:43 -0700
committerGitHub2020-09-22 02:34:43 +0000
commit9c4f14fb7347b5ca6afe777a9a4c5d9d15f9ac0d (patch)
treec21b72e902de8cb8660125e8baf39e0c94f8546c /docs
parentc613c285c3e044370024a1b5cc0a0da1dbc3e5e6 (diff)
Support using switch without importing SwitchContext (#1595)
Diffstat (limited to 'docs')
-rw-r--r--docs/src/wiki-deprecated/cookbook.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/wiki-deprecated/cookbook.md b/docs/src/wiki-deprecated/cookbook.md
index 98581647..9988fc82 100644
--- a/docs/src/wiki-deprecated/cookbook.md
+++ b/docs/src/wiki-deprecated/cookbook.md
@@ -128,7 +128,7 @@ State transitions are then handled with [`switch`](https://www.chisel-lang.org/a
```scala mdoc:silent:reset
import chisel3._
-import chisel3.util._
+import chisel3.util.{switch, is}
import chisel3.experimental.ChiselEnum
object DetectTwoOnes {