Skip to content

Commit 225e416

Browse files
committed
update
1 parent 531984a commit 225e416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/client_gen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ fn render_path_param(method: &Method, name: &str) -> RustResult {
749749
DataType::String => Ok(unit() + &param.name),
750750
DataType::Uuid => Ok(unit() + "&" + &param.name + ".to_string()"),
751751
DataType::Model(_) => Ok(unit() + "&" + &param.name + ".to_string()"),
752-
DataType::Int(IntFormat::U64) => Ok(unit() + "&" + &param.name + ".to_string()"),
752+
DataType::Int(_) => Ok(unit() + "&" + &param.name + ".to_string()"),
753753
_ => Err(Error::unexpected(format!(
754754
"Unexpected param type {name}: {:?}",
755755
param.tpe

0 commit comments

Comments
 (0)