Skip to content

Commit cb686d9

Browse files
committed
rustfmt: ignore the constants module
1 parent c493ed1 commit cb686d9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

keyutils-raw/src/constants.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2525
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626

27-
// Ignore rustfmt changes in here. The horizontal alignment is too useful to give up.
28-
#![cfg_attr(rustfmt, rustfmt_skip)]
29-
3027
use crate::{KeyPermissions, KeyringSerial};
3128

3229
// TODO: change these to &CStr when const fns get unblocked.

keyutils-raw/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
//! - `keyctl(3)`
3838
//! - `keyctl(7)`
3939
40+
// Ignore rustfmt changes in here. The horizontal alignment is too useful to give up.
41+
#[rustfmt::skip]
4042
mod constants;
4143
mod functions;
4244
mod types;

0 commit comments

Comments
 (0)