Skip to content

Commit 50cbcb4

Browse files
committed
doc: typo
1 parent d8764c1 commit 50cbcb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ Examples:
14291429
* integer 3 -> string "3" (By Lua)
14301430
* string "2.5" -> double 2.5 (By Lua)
14311431
* number 2.5 -> int 2 (By C++)
1432-
* string "2.5" -> int 2 (Firstly "2.5"->2.5 by lua, then 2.5->2 by C++)
1432+
* string "2.5" -> int 2 (Firstly "2.5"->2.5 by Lua, then 2.5->2 by C++)
14331433
* boolean true -> int 1 (By C++)
14341434
* boolean false -> int 0 (By C++)
14351435
* integer 0 -> bool false (By C++)

include/peacalm/luaw.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ class luaw {
843843
// * integer 3 -> string "3" (By Lua)
844844
// * string "2.5" -> double 2.5 (By Lua)
845845
// * number 2.5 -> int 2 (By C++)
846-
// * string "2.5" -> int 2 (Firstly "2.5"->2.5 by lua, then 2.5->2 by C++)
846+
// * string "2.5" -> int 2 (Firstly "2.5"->2.5 by Lua, then 2.5->2 by C++)
847847
// * boolean true -> int 1 (By C++)
848848
// * boolean false -> int 0 (By C++)
849849
// * integer 0 -> bool false (By C++)

0 commit comments

Comments
 (0)