Skip to content

Commit

Permalink
fix README examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kumavale committed Feb 14, 2023
1 parent a88016c commit ef406c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let query = query!("SELECT name FROM users WHERE id={id} AND passwd={passwd}");
assert_eq!(query.simulate(), "SELECT name FROM users WHERE id='42' AND passwd=''''' or 1=1; --'");

for row in conn.rows(&query).unwrap() {
assert_eq!(row.get("name").unwrap(), "Alice");
assert!(row.get("name").is_none());
}
```

Expand Down

0 comments on commit ef406c9

Please sign in to comment.