Skip to content

Commit ec0986b

Browse files
authored
Merge pull request #407 from WhyNotHugo/doc-names
Fix mixed-up names in function documentation
2 parents 450a4fb + c1d5228 commit ec0986b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

conn.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func SessionBusPrivate(opts ...ConnOption) (*Conn, error) {
9797
return Dial(address, opts...)
9898
}
9999

100-
// SessionBusPrivate returns a new private connection to the session bus. If
100+
// SessionBusPrivateNoAutoStartup returns a new private connection to the session bus. If
101101
// the session bus is not already open, do not attempt to launch it.
102102
func SessionBusPrivateNoAutoStartup(opts ...ConnOption) (*Conn, error) {
103103
address, err := getSessionBusAddress(false)
@@ -108,7 +108,7 @@ func SessionBusPrivateNoAutoStartup(opts ...ConnOption) (*Conn, error) {
108108
return Dial(address, opts...)
109109
}
110110

111-
// SessionBusPrivate returns a new private connection to the session bus.
111+
// SessionBusPrivateHandler returns a new private connection to the session bus.
112112
//
113113
// Deprecated: use SessionBusPrivate with options instead.
114114
func SessionBusPrivateHandler(handler Handler, signalHandler SignalHandler) (*Conn, error) {

0 commit comments

Comments
 (0)