Skip to content

Commit 76fb43f

Browse files
Merge #574
574: Removed `no_run` code in doctest r=irevoire a=NoodleSamaChan # Pull Request ## What does this PR do? - removes a few lines of unnecessary code from dumps and snapshots files for better upkeep - ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: NoodleSamaChan <[email protected]>
2 parents 2a9d645 + ea03dea commit 76fb43f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/dumps.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
//!
1616
//! # Example
1717
//!
18-
//! ```no_run
18+
//! ```
1919
//! # use meilisearch_sdk::{client::*, errors::*, dumps::*, dumps::*, task_info::*, tasks::*};
2020
//! # use futures_await_test::async_test;
2121
//! # use std::{thread::sleep, time::Duration};
@@ -50,7 +50,7 @@ impl<Http: HttpClient> Client<Http> {
5050
///
5151
/// # Example
5252
///
53-
/// ```no_run
53+
/// ```
5454
/// # use meilisearch_sdk::{client::*, errors::*, dumps::*, dumps::*, task_info::*, tasks::*};
5555
/// # use futures_await_test::async_test;
5656
/// # use std::{thread::sleep, time::Duration};

src/snapshots.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ mod tests {
8787
use super::*;
8888
use crate::{client::*, tasks::*};
8989
use meilisearch_test_macro::meilisearch_test;
90-
use std::time::Duration;
9190

9291
#[meilisearch_test]
9392
async fn test_snapshot_success_creation(client: Client) -> Result<(), Error> {

0 commit comments

Comments
 (0)