Skip to content

Commit ff9d1da

Browse files
committed
docs: minor doc updates
1 parent 648fc50 commit ff9d1da

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ async fn main() -> Result<()> {
5454
}
5555
```
5656

57+
## Notes
58+
59+
Supports using PostgreSQL binaries from:
60+
61+
* [theseus-rs/postgresql-binaries](https://github.com/theseus-rs/postgresql-binaries) (default)
62+
* [zonkyio/embedded-postgres-binaries](https://github.com/zonkyio/embedded-postgres-binaries)
63+
5764
## Safety
5865

5966
These crates use `#![forbid(unsafe_code)]` to ensure everything is implemented in 100% safe Rust.
@@ -69,13 +76,6 @@ at your option.
6976

7077
PostgreSQL is covered under [The PostgreSQL License](https://opensource.org/licenses/postgresql).
7178

72-
## Notes
73-
74-
Supports using PostgreSQL binaries from:
75-
76-
* [theseus-rs/postgresql-binaries](https://github.com/theseus-rs/postgresql-binaries) (default)
77-
* [zonkyio/embedded-postgres-binaries](https://github.com/zonkyio/embedded-postgres-binaries)
78-
7979
## Contribution
8080

8181
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as

postgresql_archive/src/matcher/registry.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ impl MatchersRegistry {
2727
}
2828
}
2929

30-
/// Registers a matcher for a supports function. Newly registered matchers with the take
31-
/// precedence over existing ones.
30+
/// Registers a matcher for a supports function. Newly registered matchers will take precedence
31+
/// over existing ones.
3232
fn register(&mut self, supports_fn: SupportsFn, matcher_fn: MatcherFn) {
3333
self.matchers.insert(
3434
0,
@@ -73,8 +73,8 @@ impl Default for MatchersRegistry {
7373
}
7474
}
7575

76-
/// Registers a matcher for a supports function. Newly registered matchers with the take
77-
/// precedence over existing ones.
76+
/// Registers a matcher for a supports function. Newly registered matchers will take precedence over
77+
/// existing ones.
7878
///
7979
/// # Errors
8080
/// * If the registry is poisoned.

postgresql_embedded/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ The PostgreSQL binaries can also be obtained from a different GitHub source by s
134134
environment variable. The repository must contain the releases with archives in same structure as
135135
[theseus-rs/postgresql_binaries](https://github.com/theseus-rs/postgresql-binaries).
136136

137+
## Notes
138+
139+
Supports using PostgreSQL binaries from:
140+
141+
* [theseus-rs/postgresql-binaries](https://github.com/theseus-rs/postgresql-binaries) (default)
142+
* [zonkyio/embedded-postgres-binaries](https://github.com/zonkyio/embedded-postgres-binaries)
143+
137144
## Safety
138145

139146
This crate uses `#![forbid(unsafe_code)]` to ensure everything is implemented in 100% safe Rust.
@@ -147,11 +154,6 @@ Licensed under either of
147154

148155
at your option.
149156

150-
## Notes
151-
152-
Uses PostgreSQL binaries from [theseus-rs/postgresql-binaries](https://github.com/theseus-rs/postgresql_binaries) by
153-
default.
154-
155157
## Contribution
156158

157159
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as

0 commit comments

Comments
 (0)