Skip to content

Commit 5ce2a68

Browse files
committed
Make that error arrow even cooler
1 parent 6e51390 commit 5ce2a68

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

doc/Guide.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,14 @@ scala> metric"1"
6767
```
6868

6969
```scala
70-
scala> val system = "http"
71-
system: String = http
72-
7370
scala> val subsystem = "requests"
7471
subsystem: String = requests
7572
```
7673
```scala
7774
scala> metric"${system}_${subsystem}_total"
7875
<console>:18: error: Non-literal value supplied
7976
metric"${system}_${subsystem}_total"
80-
^
77+
^
8178
```
8279

8380
### Creating a monitoring variable

doc/src/Guide.md

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ metric"1"
5757
```
5858

5959
```tut
60-
val system = "http"
6160
val subsystem = "requests"
6261
```
6362
```tut:fail

0 commit comments

Comments
 (0)