Newline consistency in code-samples
bidoubiwa opened this issue · 0 comments
bidoubiwa commented
In the .code-samples.meilisearch.yaml file some samples are one-liners and some are split in newlines.
We would like to create consistency between these examples.
Because newline is more easy to read, the idea is to change every one liner in a multiple line command.
For example:
let task: TaskInfo = client.index("jackets").set_distinct_attribute("product_id").await.unwrap();
Becomes
let task: TaskInfo = client
.index("jackets")
.set_distinct_attribute("product_id")
.await
.unwrap();