diff options
author | Ayke van Laethem <[email protected]> | 2022-08-03 16:24:47 +0200 |
---|---|---|
committer | Ayke <[email protected]> | 2022-08-04 12:18:32 +0200 |
commit | c7a23183e822b9eebb639902414a0e08a09fbba0 (patch) | |
tree | 894a03fe2f4980a728c8401604d8a2c17503fde5 /builder/ar.go | |
parent | f936125658e8aef885a0e31d8fc343859defe63c (diff) | |
download | tinygo-c7a23183e822b9eebb639902414a0e08a09fbba0.tar.gz tinygo-c7a23183e822b9eebb639902414a0e08a09fbba0.zip |
all: format code according to Go 1.19 rules
Go 1.19 started reformatting code in a way that makes it more obvious
how it will be rendered on pkg.go.dev. It gets it almost right, but not
entirely. Therefore, I had to modify some of the comments so that they
are formatted correctly.
Diffstat (limited to 'builder/ar.go')
-rw-r--r-- | builder/ar.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/ar.go b/builder/ar.go index 7e33e731b..c3aad171e 100644 --- a/builder/ar.go +++ b/builder/ar.go @@ -18,7 +18,7 @@ import ( // makeArchive creates an arcive for static linking from a list of object files // given as a parameter. It is equivalent to the following command: // -// ar -rcs <archivePath> <objs...> +// ar -rcs <archivePath> <objs...> func makeArchive(arfile *os.File, objs []string) error { // Open the archive file. arwriter := ar.NewWriter(arfile) |