fmt
This commit is contained in:
@ -107,11 +107,14 @@ pub async fn involute_circular(exec_state: &mut ExecState, args: Args) -> Result
|
|||||||
let tag = args.get_kw_arg_opt(NEW_TAG_KW)?;
|
let tag = args.get_kw_arg_opt(NEW_TAG_KW)?;
|
||||||
|
|
||||||
if end_radius.n < start_radius.n {
|
if end_radius.n < start_radius.n {
|
||||||
return Err(KclError::Semantic(KclErrorDetails {
|
return Err(KclError::Semantic(KclErrorDetails {
|
||||||
source_ranges: vec![args.source_range],
|
source_ranges: vec![args.source_range],
|
||||||
message: format!("endRadius: {0} cannot be less than startRadius: {1}", end_radius.n, start_radius.n)
|
message: format!(
|
||||||
.to_owned(),
|
"endRadius: {0} cannot be less than startRadius: {1}",
|
||||||
}));
|
end_radius.n, start_radius.n
|
||||||
|
)
|
||||||
|
.to_owned(),
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
let new_sketch = inner_involute_circular(
|
let new_sketch = inner_involute_circular(
|
||||||
|
|||||||
Reference in New Issue
Block a user