Cargo fmt fix
This commit is contained in:
parent
e617f8c662
commit
14e09d74a1
|
@ -4,7 +4,11 @@ use case::CaseExt;
|
|||
use quote::{format_ident, quote};
|
||||
use regex::Regex;
|
||||
|
||||
use crate::{parser::{self, types::TypeInfo}, skeleton::auth_ident, util};
|
||||
use crate::{
|
||||
parser::{self, types::TypeInfo},
|
||||
skeleton::auth_ident,
|
||||
util,
|
||||
};
|
||||
|
||||
pub fn generate_groups(groups: Vec<parser::ApiGroup>) -> proc_macro2::TokenStream {
|
||||
let gr = groups
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
mod group;
|
||||
mod md_parser;
|
||||
mod parser;
|
||||
mod skeleton;
|
||||
mod util;
|
||||
mod parser;
|
||||
mod md_parser;
|
||||
|
||||
use case::CaseExt;
|
||||
use proc_macro::TokenStream;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
use crate::md_parser::TokenTree;
|
||||
|
||||
use self::{return_type::get_return_type, parameters::get_parameters};
|
||||
use self::{parameters::get_parameters, return_type::get_return_type};
|
||||
|
||||
use super::{ApiGroup, ApiMethod, util};
|
||||
use super::{util, ApiGroup, ApiMethod};
|
||||
|
||||
mod description;
|
||||
mod parameters;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
use crate::{md_parser::MdContent, parser::{ReturnType, object_types::get_object_types, ReturnTypeParameter, types::Type}};
|
||||
use crate::{
|
||||
md_parser::MdContent,
|
||||
parser::{object_types::get_object_types, types::Type, ReturnType, ReturnTypeParameter},
|
||||
};
|
||||
|
||||
pub fn get_return_type(content: &[MdContent]) -> Option<ReturnType> {
|
||||
let table = content
|
||||
|
|
Loading…
Reference in New Issue
Block a user