Skip to content

Commit

Permalink
interfaces/core.go: comment corrections, no functional changes
Browse files Browse the repository at this point in the history
Signed-off-by: Robert P. J. Day <[email protected]>
  • Loading branch information
Robert P. J. Day authored and alexmurray committed Oct 17, 2023
1 parent 6ea10db commit 6d1b786
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interfaces/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ type Interface interface {
Name() string

// AutoConnect returns whether plug and slot should be
// implicitly auto-connected assuming they will be an
// implicitly auto-connected assuming there will be an
// unambiguous connection candidate and declaration-based checks
// allow.
AutoConnect(plug *snap.PlugInfo, slot *snap.SlotInfo) bool
}

// PlugSanitizer can be implemented by Interfaces that have reasons to sanitize
// ConnPlugSanitizer can be implemented by Interfaces that have reasons to sanitize
// their plugs specifically before a connection is performed.
type ConnPlugSanitizer interface {
BeforeConnectPlug(plug *ConnectedPlug) error
Expand All @@ -205,7 +205,7 @@ type SlotSanitizer interface {
// StaticInfo describes various static-info of a given interface.
//
// The Summary must be a one-line string of length suitable for listing views.
// The DocsURL can point to website (e.g. a forum thread) that goes into more
// The DocURL can point to website (e.g. a forum thread) that goes into more
// depth and documents the interface in detail.
type StaticInfo struct {
Summary string `json:"summary,omitempty"`
Expand Down

0 comments on commit 6d1b786

Please sign in to comment.