Skip to content

Commit

Permalink
fmt: fix interface fields alignment (#19866)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Nov 15, 2023
1 parent 915ac4e commit 83b4167
Show file tree
Hide file tree
Showing 16 changed files with 318 additions and 252 deletions.
2 changes: 1 addition & 1 deletion vlib/builtin/js/array.js.v
Expand Up @@ -424,7 +424,7 @@ pub interface JS.TypedArray {
mut:
byteLength JS.Number
byteOffset JS.Number
length JS.Number
length JS.Number
}

pub interface JS.Uint8Array {
Expand Down
2 changes: 1 addition & 1 deletion vlib/builtin/js/builtin.v
Expand Up @@ -16,7 +16,7 @@ pub fn panic(s string) {
pub interface IError {
// >> Hack to allow old style custom error implementations
// TODO: remove once deprecation period for `IError` methods has ended
msg string
msg string
code int // <<
msg() string
code() int
Expand Down
2 changes: 1 addition & 1 deletion vlib/builtin/result.v
Expand Up @@ -7,7 +7,7 @@ module builtin
pub interface IError {
// >> Hack to allow old style custom error implementations
// TODO: remove once deprecation period for `IError` methods has ended
msg string
msg string
code int // <<
msg() string
code() int
Expand Down

0 comments on commit 83b4167

Please sign in to comment.