remove a println()

pull/2594/head
Alexander Medvednikov 2019-10-31 12:15:45 +03:00
parent d5cf4d6fd5
commit b1730b768d
2 changed files with 4 additions and 7 deletions

View File

@ -843,7 +843,6 @@ pub fn new_v(args[]string) &V {
// `v -o dir/exec`, create "dir/" if it doesn't exist
if out_name.contains(os.path_separator) {
d := out_name.all_before_last(os.path_separator)
println('DIRRR ' + d)
if !os.dir_exists(d) {
println('creating a new directory "$d"')
os.mkdir(d)

View File

@ -75,16 +75,14 @@ pub fn (c Color) str() string {
}
pub fn (a Color) eq(b Color) bool {
return a.r == b.r &&
a.g == b.g &&
a.b == b.b
return a.r == b.r && a.g == b.g && a.b == b.b
}
pub fn rgb(r, g, b int) Color {
res := Color {
r: r,
g: g,
b: b,
r: r
g: g
b: b
}
return res
}