There was an error while loading. Please reload this page.
1 parent 86e58cf commit 1045907Copy full SHA for 1045907
1 file changed
src/lib.rs
@@ -30,9 +30,9 @@ pub const POSTGRES_VERSION_NUM: u32 = raw::PG_VERSION_NUM;
30
/// Returns the PostgreSQL version whose parser sources are used by this crate.
31
pub fn postgres_version() -> &'static str {
32
CStr::from_bytes_with_nul(raw::PG_VERSION)
33
- .expect("bindgen generated PG_VERSION without a trailing NUL")
+ .expect("generated PG_VERSION without a trailing NUL")
34
.to_str()
35
- .expect("bindgen generated a non-UTF-8 PG_VERSION")
+ .expect("generated a non-UTF-8 PG_VERSION")
36
}
37
38
pub(crate) use node_ptr::{
0 commit comments