We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cc9ee7 commit 3efe7dcCopy full SHA for 3efe7dc
api_generator/src/generator/code_gen/mod.rs
@@ -137,7 +137,7 @@ impl GetPath for syn::Ty {
137
fn get_path(&self) -> &syn::Path {
138
match *self {
139
syn::Ty::Path(_, ref p) => &p,
140
- ref p => panic!(format!("Expected syn::Ty::Path, but found {:?}", p)),
+ ref p => panic!("Expected syn::Ty::Path, but found {:?}", p),
141
}
142
143
0 commit comments