From 84cd40b4162fc692e359c646da9ec9d74a19c4d8 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Fri, 19 Aug 2022 22:21:15 +0300 Subject: [PATCH] rustfmt fixes. Not sure why these don't show up as CI failures, but on my laptop, rustfmt insists. --- libs/postgres_ffi/src/nonrelfile_utils.rs | 2 +- libs/postgres_ffi/src/waldecoder.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/postgres_ffi/src/nonrelfile_utils.rs b/libs/postgres_ffi/src/nonrelfile_utils.rs index 04ef346d88..1de1d367e0 100644 --- a/libs/postgres_ffi/src/nonrelfile_utils.rs +++ b/libs/postgres_ffi/src/nonrelfile_utils.rs @@ -1,8 +1,8 @@ //! //! Common utilities for dealing with PostgreSQL non-relation files. //! -use crate::transaction_id_precedes; use super::pg_constants; +use crate::transaction_id_precedes; use bytes::BytesMut; use log::*; diff --git a/libs/postgres_ffi/src/waldecoder.rs b/libs/postgres_ffi/src/waldecoder.rs index 0e1c9567cb..768e79621d 100644 --- a/libs/postgres_ffi/src/waldecoder.rs +++ b/libs/postgres_ffi/src/waldecoder.rs @@ -8,9 +8,9 @@ //! to look deeper into the WAL records to also understand which blocks they modify, the code //! for that is in pageserver/src/walrecord.rs //! +use super::bindings::{XLogLongPageHeaderData, XLogPageHeaderData, XLogRecord, XLOG_PAGE_MAGIC}; use super::pg_constants; use super::xlog_utils::*; -use super::bindings::{XLogLongPageHeaderData, XLogPageHeaderData, XLogRecord, XLOG_PAGE_MAGIC}; use bytes::{Buf, BufMut, Bytes, BytesMut}; use crc32c::*; use log::*;