Skip to content

Commit 891f1c6

Browse files
committed
fix readme
1 parent 07ed6e2 commit 891f1c6

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# postgres-from-row
22

3-
Derive [`FromRow`] to generate a mapping between a struct and postgres rows.
3+
Derive `FromRow` to generate a mapping between a struct and postgres rows.
44

55
This crate works with [postgres](<https://docs.rs/postgres>) by default.
66

@@ -38,9 +38,9 @@ let todo = Todo::try_from_row(&row);
3838
assert!(todo.is_err());
3939
```
4040

41-
Each field need's to implement [`postgres::types::FromSql`], as this will be used to convert a
41+
Each field need's to implement `postgres::types::FromSql`, as this will be used to convert a
4242
single column to the specified type. If you want to override this behavior and delegate it to a
43-
nested structure that also implements [`FromRow`], use `#[from_row(flatten)]`:
43+
nested structure that also implements `FromRow`, use `#[from_row(flatten)]`:
4444

4545
```rust
4646
use postgres_from_row::FromRow;

pre-deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
cargo readme | sed 's/\[\(`[^`]*`\)]/\1/g' > README.md
3+

sed

Whitespace-only changes.

0 commit comments

Comments
 (0)