Skip to content

Commit

Permalink
Update README.md (#244)
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
babalolajnr authored Mar 13, 2023
1 parent fbaebd0 commit 09efa7e
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 @@ -309,7 +309,7 @@ let test_struct: TestStruct = [...]
test_struct.validate_args((77, 555)).is_ok();
```

It is also possible to pass references by using the lifetime `'v_a` not that this lifetime should only be used for the function parameters like this:
It is also possible to pass references by using the lifetime `'v_a` note that this lifetime should only be used for the function parameters like this:

```rust
fn validate_value(_: &str, arg: &mut Database) -> Result<(), ValidationError> {
Expand Down

0 comments on commit 09efa7e

Please sign in to comment.