File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ impl DBusMethodInvocation {
30
30
// rustdoc-stripper-ignore-next
31
31
/// Return a result for this invocation.
32
32
///
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
34
34
/// value is not a tuple, automatically convert it to a one-element tuple, as
35
35
/// DBus return values must be tuples.
36
36
///
37
- /// If `Err` return the contained error with [`return_gerror`].
37
+ /// If `Err` return the contained error with [`Self:: return_gerror`].
38
38
pub fn return_result ( self , result : Result < Option < glib:: Variant > , glib:: Error > ) {
39
39
match result {
40
40
Ok ( Some ( value) ) if !value. is_type ( VariantTy :: TUPLE ) => {
@@ -50,7 +50,7 @@ impl DBusMethodInvocation {
50
50
/// Return an async result for this invocation.
51
51
///
52
52
/// 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
54
54
/// that is not a tuple it is automatically wrapped into a tuple.
55
55
///
56
56
/// The given `Future` does not have to be `Send`.
You can’t perform that action at this time.
0 commit comments