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

Commit

Permalink
Fix rustfmt issues in CI jobs (#192)
Browse files Browse the repository at this point in the history
Add .editorconfig file and fix rustfmt issues
  • Loading branch information
stevenroose authored Jun 4, 2020
1 parent d012830 commit a218403
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# see https://editorconfig.org for more options, and setup instructions for yours editor

[*.rs]
indent_style = space
indent_size = 4
3 changes: 1 addition & 2 deletions src/tags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ fn untagged<T>(value: T) -> Tagged<T> {

macro_rules! delegate {
($name: ident, $type: ty) => {
fn $name<E: serde::de::Error>(self, v: $type) -> Result<Self::Value, E>
{
fn $name<E: serde::de::Error>(self, v: $type) -> Result<Self::Value, E> {
T::deserialize(v.into_deserializer()).map(untagged)
}
};
Expand Down

0 comments on commit a218403

Please # to comment.