]> Cypherpunks.ru repositories - goredo.git/blobdiff - run.go
Unused RunErr.Unwrap
[goredo.git] / run.go
diff --git a/run.go b/run.go
index 512418b6e448206ba58c1bd7f3e366197c67bd78..f08547008d9f76a04e11b164be62e553bfa5a4c5 100644 (file)
--- a/run.go
+++ b/run.go
@@ -1,6 +1,6 @@
 /*
 goredo -- redo implementation on pure Go
-Copyright (C) 2020 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -77,8 +77,6 @@ type RunErr struct {
        Err      error
 }
 
-func (e RunErr) Unwrap() error { return e.Err }
-
 func (e *RunErr) Name() string {
        var name string
        if e.DoFile == "" {