Skip to content

Commit

Permalink
Fix up style (stellar#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayz22 authored Jul 14, 2023
1 parent 3113f99 commit 96e91ce
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/xdrgen/generators/rust/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down
2 changes: 1 addition & 1 deletion spec/output/generator_spec_rust/block_comments.x/MyXDR.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down
2 changes: 1 addition & 1 deletion spec/output/generator_spec_rust/const.x/MyXDR.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down
2 changes: 1 addition & 1 deletion spec/output/generator_spec_rust/enum.x/MyXDR.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down
2 changes: 1 addition & 1 deletion spec/output/generator_spec_rust/nesting.x/MyXDR.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down
2 changes: 1 addition & 1 deletion spec/output/generator_spec_rust/optional.x/MyXDR.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down
2 changes: 1 addition & 1 deletion spec/output/generator_spec_rust/struct.x/MyXDR.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down
2 changes: 1 addition & 1 deletion spec/output/generator_spec_rust/test.x/MyXDR.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down
2 changes: 1 addition & 1 deletion spec/output/generator_spec_rust/union.x/MyXDR.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use alloc::{
string::{FromUtf8Error, String},
vec::Vec,
};
#[cfg(all(feature = "std"))]
#[cfg(feature = "std")]
use std::string::FromUtf8Error;

#[cfg(feature = "arbitrary")]
Expand Down

0 comments on commit 96e91ce

Please sign in to comment.