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 fe25ab7 commit 4d07875Copy full SHA for 4d07875
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