File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ you may need to create a connection pool of `com.dongxiguo.memcontinuationed.Mem
29
29
30
30
## A sample to use Memcontinuationed
31
31
32
+ ``` scala
32
33
import com .dongxiguo .memcontinuationed .Memcontinuationed
33
34
import com .dongxiguo .memcontinuationed .StorageAccessor
34
35
import java .io ._
@@ -84,6 +85,7 @@ you may need to create a connection pool of `com.dongxiguo.memcontinuationed.Mem
84
85
new String (result, " UTF-8" )
85
86
}
86
87
}
88
+ ```
87
89
88
90
There is something you need to know:
89
91
@@ -95,6 +97,7 @@ There is something you need to know:
95
97
96
98
Add these lines to your ` build.sbt ` if you use [ Sbt] ( http://www.scala-sbt.org/ ) :
97
99
100
+ ``` scala
98
101
libraryDependencies += " com.dongxiguo" %% " memcontinuationed" % " 0.3.2"
99
102
100
103
libraryDependencies <++= scalaBinaryVersion { bv =>
@@ -117,7 +120,7 @@ Add these lines to your `build.sbt` if you use [Sbt](http://www.scala-sbt.org/):
117
120
}
118
121
119
122
scalacOptions += " -P:continuations:enable"
120
-
123
+ ```
121
124
122
125
### Requirement
123
126
You can’t perform that action at this time.
0 commit comments