Skip to content

Commit

Permalink
chore: replace further usage and mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
romshark committed Jan 28, 2025
1 parent 816b238 commit 63e1836
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/private/serrors/errors_spec.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ package serrors
// Calls to this method are assumed to always terminate.
ensures err != nil
decreases _
func New(msg string, errCtx ...interface{}) (err error)
func New(msg string, errCtx ...any) (err error)
2 changes: 1 addition & 1 deletion pkg/private/xtest/graphupdater/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type iface struct {
iface string
}

func (i *iface) UnmarshalYAML(unmarshal func(interface{}) error) error {
func (i *iface) UnmarshalYAML(unmarshal func(any) error) error {
var s string
if err := unmarshal(&s); err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion private/file/periodicview_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,6 @@ func benchmarkView(b *testing.B, view file.View) {
}

func pemKeyParse(b []byte) (any, error) {
// Change the return type from []byte to interface{}
// Change the return type from []byte to any
return scrypto.ParsePEMSymmetricKey(b)
}

0 comments on commit 63e1836

Please sign in to comment.