Skip to content

Commit 57184c6

Browse files
authored
DOCSP-44858: fix ordered write code (#140)
1 parent 85f7bd3 commit 57184c6

File tree

1 file changed

+1
-1
lines changed
  • source/includes/fundamentals/code-snippets/crud

1 file changed

+1
-1
lines changed

source/includes/fundamentals/code-snippets/crud/insert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ async fn main() -> mongodb::error::Result<()> {
7373
let docs = vec![
7474
Book { _id: 1, title: "Where the Wild Things Are".to_string(), author: "".to_string() },
7575
Book { _id: 2, title: "The Very Hungry Caterpillar".to_string(), author: "".to_string() },
76-
Book { _id: 4, title: "Blueberries for Sal".to_string(), author: "".to_string() },
76+
Book { _id: 1, title: "Blueberries for Sal".to_string(), author: "".to_string() },
7777
Book { _id: 3, title: "Goodnight Moon".to_string(), author: "".to_string() }
7878
];
7979

0 commit comments

Comments
 (0)