Skip to content

Commit 13265c0

Browse files
committed
Use json text formatting in README response example
1 parent b6f44c2 commit 13265c0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/lib.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,6 @@
159159
//! # fn main() { block_on(async move {
160160
//! # // Create a client (without sending any request so that can't fail)
161161
//! # let client = Client::new("http://localhost:7700", "masterKey");
162-
//! # let filterable_attributes = [
163-
//! # "id",
164-
//! # "genres"
165-
//! # ];
166162
//! # // Get the index called "movies"
167163
//! # let movies = client.get_or_create("movies").await.unwrap();
168164
//! # let filterable_attributes = [
@@ -184,7 +180,7 @@
184180
//! # })}
185181
//! ```
186182
//!
187-
//! ```text
183+
//! ```json
188184
//! {
189185
//! "hits": [
190186
//! {

0 commit comments

Comments
 (0)