Skip to content

Commit 38b27f3

Browse files
committed
Code style
1 parent d3fee6e commit 38b27f3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

file/error.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type Error struct {
1010
Location
1111
Message string
1212
Snippet string
13-
Prev error
13+
Prev error
1414
}
1515

1616
func (e *Error) Error() string {
@@ -45,7 +45,6 @@ func (e *Error) Bind(source *Source) *Error {
4545
return e
4646
}
4747

48-
4948
func (e *Error) Unwrap() error {
5049
return e.Prev
5150
}
@@ -54,7 +53,6 @@ func (e *Error) Wrap(err error) {
5453
e.Prev = err
5554
}
5655

57-
5856
func (e *Error) format() string {
5957
if e.Location.Empty() {
6058
return e.Message

0 commit comments

Comments
 (0)