Skip to content

Commit 4a11d07

Browse files
authored
Merge pull request #1760 from carlosmn/cmn/dbus-doc-link
gio: update doc links in `DBusMethodInvocation`
2 parents 9c05265 + 922fe2e commit 4a11d07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gio/src/dbus_method_invocation.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ impl DBusMethodInvocation {
3030
// rustdoc-stripper-ignore-next
3131
/// Return a result for this invocation.
3232
///
33-
/// If `Ok` return the contained value with [`return_value`]. If the return
33+
/// If `Ok` return the contained value with [`Self::return_value`]. If the return
3434
/// value is not a tuple, automatically convert it to a one-element tuple, as
3535
/// DBus return values must be tuples.
3636
///
37-
/// If `Err` return the contained error with [`return_gerror`].
37+
/// If `Err` return the contained error with [`Self::return_gerror`].
3838
pub fn return_result(self, result: Result<Option<glib::Variant>, glib::Error>) {
3939
match result {
4040
Ok(Some(value)) if !value.is_type(VariantTy::TUPLE) => {
@@ -50,7 +50,7 @@ impl DBusMethodInvocation {
5050
/// Return an async result for this invocation.
5151
///
5252
/// Spawn the given future on the thread-default main context, and return the
53-
/// the result with [`return_result`]. Specifically, if a variant is returned
53+
/// the result with [`Self::return_result`]. Specifically, if a variant is returned
5454
/// that is not a tuple it is automatically wrapped into a tuple.
5555
///
5656
/// The given `Future` does not have to be `Send`.

0 commit comments

Comments
 (0)