diff options
| author | mergify[bot] | 2022-04-18 09:39:32 +0000 |
|---|---|---|
| committer | GitHub | 2022-04-18 09:39:32 +0000 |
| commit | 7fdce0fa158c7d15bc7984ba08ca8692134d3971 (patch) | |
| tree | b4b9fda6b37266943d391bf4715ca88e761080c2 | |
| parent | b187a0ce5269e735e7bd75620b4fd33f7ed27af5 (diff) | |
Clarify example in Printable (#2454) (#2456)
(cherry picked from commit d6a357d29cfa7120b3c0c90684b33be1863e5599)
Co-authored-by: Megan Wachs <megan@sifive.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
| -rw-r--r-- | core/src/main/scala/chisel3/Printable.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/chisel3/Printable.scala b/core/src/main/scala/chisel3/Printable.scala index c477716b..a616f2b0 100644 --- a/core/src/main/scala/chisel3/Printable.scala +++ b/core/src/main/scala/chisel3/Printable.scala @@ -18,7 +18,7 @@ import java.util.{MissingFormatArgumentException, UnknownFormatConversionExcepti * }}} * This is equivalent to writing: * {{{ - * printf(p"The value of wire = %d\n", wire) + * printf("The value of wire = %d\n", wire) * }}} * All Chisel data types have a method `.toPrintable` that gives a default pretty print that can be * accessed via `p"..."`. This works even for aggregate types, for example: |
