Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
cargo fmt'ed
Browse files Browse the repository at this point in the history
  • Loading branch information
MeerKatDev committed Sep 20, 2023
1 parent deeffb8 commit 10c37b4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion uniffi_bindgen/src/bindings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ impl TryFrom<String> for TargetLanguage {
}
}


#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct Config {
pub doc_comments: Option<bool>,
Expand Down
1 change: 0 additions & 1 deletion uniffi_bindgen/src/interface/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ impl AsType for Field {
}
}


impl TryFrom<uniffi_meta::FieldMetadata> for Field {
type Error = anyhow::Error;

Expand Down
2 changes: 1 addition & 1 deletion uniffi_docs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

use std::{collections::HashMap, fs::read_to_string, path::Path, str::FromStr};

use uniffi_meta::Checksum;
use anyhow::Result;
use pulldown_cmark::{Event, HeadingLevel::H1, Parser, Tag};
use syn::Attribute;
use uniffi_meta::Checksum;

/// Function documentation.
#[derive(Debug, Clone, PartialEq, Eq, Checksum)]
Expand Down
5 changes: 4 additions & 1 deletion uniffi_meta/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

use std::{collections::{BTreeMap, HashMap}, hash::Hasher};
use std::{
collections::{BTreeMap, HashMap},
hash::Hasher,
};
pub use uniffi_checksum_derive::Checksum;

mod ffi_names;
Expand Down

0 comments on commit 10c37b4

Please sign in to comment.