File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
js/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core
jvm/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core
native/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ final class JsonReader private[jsoniter_scala](
120
120
121
121
/**
122
122
* Sets the current read head position as a mark.
123
- * Should be followed by `restMark ()` or `rollbackToMark()` calls.
124
- * Pair of `setMark()` and `restMark ()` or `setMark()` and `rollbackToMark()` calls cannot be nested.
123
+ * Should be followed by `resetMark ()` or `rollbackToMark()` calls.
124
+ * Pair of `setMark()` and `resetMark ()` or `setMark()` and `rollbackToMark()` calls cannot be nested.
125
125
*/
126
126
def setMark (): Unit = mark = head
127
127
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ final class JsonReader private[jsoniter_scala](
120
120
121
121
/**
122
122
* Sets the current read head position as a mark.
123
- * Should be followed by `restMark ()` or `rollbackToMark()` calls.
124
- * Pair of `setMark()` and `restMark ()` or `setMark()` and `rollbackToMark()` calls cannot be nested.
123
+ * Should be followed by `resetMark ()` or `rollbackToMark()` calls.
124
+ * Pair of `setMark()` and `resetMark ()` or `setMark()` and `rollbackToMark()` calls cannot be nested.
125
125
*/
126
126
def setMark (): Unit = mark = head
127
127
Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ final class JsonReader private[jsoniter_scala](
120
120
121
121
/**
122
122
* Sets the current read head position as a mark.
123
- * Should be followed by `restMark ()` or `rollbackToMark()` calls.
124
- * Pair of `setMark()` and `restMark ()` or `setMark()` and `rollbackToMark()` calls cannot be nested.
123
+ * Should be followed by `resetMark ()` or `rollbackToMark()` calls.
124
+ * Pair of `setMark()` and `resetMark ()` or `setMark()` and `rollbackToMark()` calls cannot be nested.
125
125
*/
126
126
def setMark (): Unit = mark = head
127
127
You can’t perform that action at this time.
0 commit comments