Skip to content

Commit b939526

Browse files
committed
static -> const
1 parent 22efd1d commit b939526

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ pub mod error;
147147
pub mod pool;
148148
pub mod types;
149149

150-
static CANARY: u32 = 0xdeadbeef;
150+
const CANARY: u32 = 0xdeadbeef;
151151

152152
/// A typedef of the result returned by many methods.
153153
pub type PostgresResult<T> = Result<T, PostgresError>;

0 commit comments

Comments
 (0)