1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

minor fixes

This commit is contained in:
Alexander Medvednikov 2019-07-04 22:39:13 +02:00
parent adef37f0f4
commit 92528205c1
2 changed files with 1 additions and 2 deletions

View File

@ -960,7 +960,7 @@ fn new_v(args[]string) *V {
fn run_repl() []string {
println('V $Version')
println('Use Ctrl-D or `exit` to exit')
println('Use Ctrl-C or `exit` to exit')
println('For now you have to use println() to print values, this will be fixed soon\n')
file := TmpPath + '/vrepl.v'
mut lines := []string

View File

@ -90,7 +90,6 @@ pub fn calloc(n int) byteptr {
}
fn _strlen(s byteptr) int {
// TODO don't call a C function, implement it in V
return C.strlen(s)
}