Skip to content

Commit 1045907

Browse files
committed
its not bindgens fault
1 parent 86e58cf commit 1045907

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ pub const POSTGRES_VERSION_NUM: u32 = raw::PG_VERSION_NUM;
3030
/// Returns the PostgreSQL version whose parser sources are used by this crate.
3131
pub fn postgres_version() -> &'static str {
3232
CStr::from_bytes_with_nul(raw::PG_VERSION)
33-
.expect("bindgen generated PG_VERSION without a trailing NUL")
33+
.expect("generated PG_VERSION without a trailing NUL")
3434
.to_str()
35-
.expect("bindgen generated a non-UTF-8 PG_VERSION")
35+
.expect("generated a non-UTF-8 PG_VERSION")
3636
}
3737

3838
pub(crate) use node_ptr::{

0 commit comments

Comments
 (0)