Skip to content

Commit 7724271

Browse files
zecakehandybalaam
authored andcommitted
doc(test): Fix method auto-link
Rustdoc doesn't support passing parameters for auto-links. Signed-off-by: Kévin Commaille <[email protected]>
1 parent 8dfe732 commit 7724271

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

testing/matrix-sdk-test/src/test_json/keys_query_sets.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,9 @@ impl KeyQueryResponseTemplate {
150150
/// calculated.
151151
///
152152
/// The device can optionally be signed by the self-signing key by calling
153-
/// [`KeyResponseTemplateDeviceOptions::verified(true)`] on the `options`
154-
/// object.
153+
/// [`KeyQueryResponseTemplateDeviceOptions::new().
154+
/// verified(true)`](KeyQueryResponseTemplateDeviceOptions::verified) on the
155+
/// `options` object.
155156
pub fn with_device(
156157
mut self,
157158
device_id: &DeviceId,

0 commit comments

Comments
 (0)