Skip to content

Commit

Permalink
Merge #574
Browse files Browse the repository at this point in the history
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 <lferraraccio@outlook.com>
  • Loading branch information
meili-bors[bot] and NoodleSamaChan authored Apr 18, 2024
2 parents 2a9d645 + ea03dea commit 76fb43f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dumps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//!
//! # Example
//!
//! ```no_run
//! ```
//! # use meilisearch_sdk::{client::*, errors::*, dumps::*, dumps::*, task_info::*, tasks::*};
//! # use futures_await_test::async_test;
//! # use std::{thread::sleep, time::Duration};
Expand Down Expand Up @@ -50,7 +50,7 @@ impl<Http: HttpClient> Client<Http> {
///
/// # Example
///
/// ```no_run
/// ```
/// # use meilisearch_sdk::{client::*, errors::*, dumps::*, dumps::*, task_info::*, tasks::*};
/// # use futures_await_test::async_test;
/// # use std::{thread::sleep, time::Duration};
Expand Down
1 change: 0 additions & 1 deletion src/snapshots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ mod tests {
use super::*;
use crate::{client::*, tasks::*};
use meilisearch_test_macro::meilisearch_test;
use std::time::Duration;

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

0 comments on commit 76fb43f

Please sign in to comment.