Skip to content

Commit d601f22

Browse files
committed
formatting
1 parent f68cba9 commit d601f22

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@
128128
cast_possible_truncation, cast_precision_loss,
129129
shadow_reuse, cyclomatic_complexity, similar_names,
130130
doc_markdown, many_single_char_names))]
131-
132-
#![cfg_attr(feature="nostd", no_std)]
131+
#![cfg_attr(feature = "nostd", no_std)]
133132

134133
#[cfg(feature = "nostd")]
135134
extern crate core as std;

src/macros.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ macro_rules! test_arithmetic_ {
485485

486486
#[cfg(test)]
487487
#[macro_export]
488-
macro_rules! test_neg_ {
488+
macro_rules! test_neg_ {
489489
($tn:ident, $zero:expr, $one:expr, $two:expr, $four:expr) => {
490490
{
491491
let z = $tn::splat($zero);
@@ -573,7 +573,7 @@ macro_rules! test_bit_arithmetic_ {
573573

574574
#[cfg(test)]
575575
#[macro_export]
576-
macro_rules! test_ops_si {
576+
macro_rules! test_ops_si {
577577
($($tn:ident),+) => {
578578
$(
579579
test_arithmetic_!($tn, 0, 1, 2, 4);
@@ -585,7 +585,7 @@ macro_rules! test_bit_arithmetic_ {
585585

586586
#[cfg(test)]
587587
#[macro_export]
588-
macro_rules! test_ops_ui {
588+
macro_rules! test_ops_ui {
589589
($($tn:ident),+) => {
590590
$(
591591
test_arithmetic_!($tn, 0, 1, 2, 4);
@@ -596,7 +596,7 @@ macro_rules! test_bit_arithmetic_ {
596596

597597
#[cfg(test)]
598598
#[macro_export]
599-
macro_rules! test_ops_f {
599+
macro_rules! test_ops_f {
600600
($($tn:ident),+) => {
601601
$(
602602
test_arithmetic_!($tn, 0., 1., 2., 4.);

src/x86/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ pub enum c_void {
5151
}
5252

5353
#[cfg(not(feature = "nostd"))]
54-
use std::os::raw::c_void as c_void;
54+
use std::os::raw::c_void;

0 commit comments

Comments
 (0)