Skip to content
This repository was archived by the owner on Aug 15, 2021. It is now read-only.

Commit a218403

Browse files
authored
Fix rustfmt issues in CI jobs (#192)
Add .editorconfig file and fix rustfmt issues
1 parent d012830 commit a218403

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎.editorconfig‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# see https://editorconfig.org for more options, and setup instructions for yours editor
2+
3+
[*.rs]
4+
indent_style = space
5+
indent_size = 4

‎src/tags.rs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ fn untagged<T>(value: T) -> Tagged<T> {
4242

4343
macro_rules! delegate {
4444
($name: ident, $type: ty) => {
45-
fn $name<E: serde::de::Error>(self, v: $type) -> Result<Self::Value, E>
46-
{
45+
fn $name<E: serde::de::Error>(self, v: $type) -> Result<Self::Value, E> {
4746
T::deserialize(v.into_deserializer()).map(untagged)
4847
}
4948
};

0 commit comments

Comments
 (0)