Skip to content

Commit c1d9f0f

Browse files
committed
app-wide checking for 4 spaces rule (clippy)
///\s{4}[a-zA-Z0-9]
1 parent f2f8548 commit c1d9f0f

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/documents.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ impl<'a> DocumentQuery<'a> {
145145
/// .unwrap();
146146
///
147147
/// assert_eq!(
148-
/// document,
149-
/// MyObjectReduced { id: "1".to_string() }
148+
/// document,
149+
/// MyObjectReduced { id: "1".to_string() }
150150
/// );
151151
/// # index.delete().await.unwrap().wait_for_completion(&client, None, None).await.unwrap();
152152
/// # });

src/indexes.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ impl Index {
287287
/// #
288288
/// #[derive(Serialize, Deserialize, Debug, PartialEq)]
289289
/// struct Movie {
290-
/// name: String,
291-
/// description: String
290+
/// name: String,
291+
/// description: String
292292
/// }
293293
///
294294
/// # futures::executor::block_on(async move {
@@ -356,8 +356,8 @@ impl Index {
356356
/// let document = index.get_document_with::<MyObjectReduced>("1", &document_query).await.unwrap();
357357
///
358358
/// assert_eq!(
359-
/// document,
360-
/// MyObjectReduced { id: "1".to_string() }
359+
/// document,
360+
/// MyObjectReduced { id: "1".to_string() }
361361
/// );
362362
/// # index.delete().await.unwrap().wait_for_completion(&client, None, None).await.unwrap();
363363
/// # });
@@ -395,8 +395,8 @@ impl Index {
395395
/// #
396396
/// #[derive(Serialize, Deserialize, PartialEq, Debug)]
397397
/// struct Movie {
398-
/// name: String,
399-
/// description: String,
398+
/// name: String,
399+
/// description: String,
400400
/// }
401401
///
402402
/// # futures::executor::block_on(async move {
@@ -438,13 +438,13 @@ impl Index {
438438
/// #
439439
/// #[derive(Serialize, Deserialize, PartialEq Debug)]
440440
/// struct Movie {
441-
/// name: String,
442-
/// description: String,
441+
/// name: String,
442+
/// description: String,
443443
/// }
444444
///
445445
/// #[derive(Deserialize, Debug, PartialEq)]
446446
/// struct ReturnedMovie {
447-
/// name: String,
447+
/// name: String,
448448
/// }
449449
/// # futures::executor::block_on(async move {
450450
/// # let client = Client::new(MEILISEARCH_URL, Some(MEILISEARCH_API_KEY));
@@ -500,8 +500,8 @@ impl Index {
500500
/// #
501501
/// #[derive(Serialize, Deserialize, Debug)]
502502
/// struct Movie {
503-
/// name: String,
504-
/// description: String,
503+
/// name: String,
504+
/// description: String,
505505
/// }
506506
///
507507
/// # futures::executor::block_on(async move {
@@ -652,8 +652,8 @@ impl Index {
652652
/// #
653653
/// #[derive(Serialize, Deserialize, Debug)]
654654
/// struct Movie {
655-
/// name: String,
656-
/// description: String,
655+
/// name: String,
656+
/// description: String,
657657
/// }
658658
///
659659
/// # futures::executor::block_on(async move {

0 commit comments

Comments
 (0)