Skip to content

Commit 56ac6df

Browse files
committed
doc: Add rust,no_run to examples in matrix-sdk-store-encryption
1 parent 186faee commit 56ac6df

File tree

1 file changed

+5
-5
lines changed
  • crates/matrix-sdk-store-encryption/src

1 file changed

+5
-5
lines changed

crates/matrix-sdk-store-encryption/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl StoreCipher {
151151
///
152152
/// # Examples
153153
///
154-
/// ```
154+
/// ```rust,no_run
155155
/// # let example = || {
156156
/// use matrix_sdk_store_encryption::StoreCipher;
157157
/// use serde_json::json;
@@ -254,7 +254,7 @@ impl StoreCipher {
254254
///
255255
/// # Examples
256256
///
257-
/// ```
257+
/// ```rust,no_run
258258
/// # let example = || {
259259
/// use matrix_sdk_store_encryption::StoreCipher;
260260
/// use serde_json::json;
@@ -305,7 +305,7 @@ impl StoreCipher {
305305
///
306306
/// # Examples
307307
///
308-
/// ```
308+
/// ```rust,no_run
309309
/// # let example = || {
310310
/// use matrix_sdk_store_encryption::StoreCipher;
311311
/// use serde_json::json;
@@ -354,7 +354,7 @@ impl StoreCipher {
354354
///
355355
/// # Examples
356356
///
357-
/// ```
357+
/// ```rust,no_run
358358
/// # let example = || {
359359
/// use matrix_sdk_store_encryption::StoreCipher;
360360
/// use serde_json::json;
@@ -388,7 +388,7 @@ impl StoreCipher {
388388
///
389389
/// # Examples
390390
///
391-
/// ```
391+
/// ```rust,no_run
392392
/// # let example = || {
393393
/// use matrix_sdk_store_encryption::StoreCipher;
394394
/// use serde_json::{json, value::Value};

0 commit comments

Comments
 (0)