builtin: use single line imports, to make analysis easier

pull/4601/head
Delyan Angelov 2020-04-26 08:06:33 +03:00
parent 3166833471
commit 620fc962d7
4 changed files with 5 additions and 13 deletions

View File

@ -3,9 +3,7 @@
// that can be found in the LICENSE file. // that can be found in the LICENSE file.
module builtin module builtin
import ( import strings
strings
)
pub struct array { pub struct array {
pub: pub:

View File

@ -1,6 +1,4 @@
import ( import os
os
)
fn test_syscallwrappers() { fn test_syscallwrappers() {
if true { return } if true { return }

View File

@ -3,9 +3,7 @@
// that can be found in the LICENSE file. // that can be found in the LICENSE file.
module builtin module builtin
import ( import strconv.ftoa
strconv.ftoa
)
#include <float.h> #include <float.h>
// ----- f64 to string functions ----- // ----- f64 to string functions -----

View File

@ -3,10 +3,8 @@
// that can be found in the LICENSE file. // that can be found in the LICENSE file.
module builtin module builtin
import ( import strings
strings import hash.wyhash
hash.wyhash
)
fn C.memcmp(byteptr, byteptr, int) int fn C.memcmp(byteptr, byteptr, int) int