chore: fix typos (#79)
This commit is contained in:
parent
4ca00c2052
commit
6a648b8827
1 changed files with 14 additions and 14 deletions
|
|
@ -20,14 +20,14 @@ impl Calculator {
|
|||
(a + b).to_string()
|
||||
}
|
||||
|
||||
#[tool(description = "Calculate the sum of two numbers")]
|
||||
#[tool(description = "Calculate the sub of two numbers")]
|
||||
fn sub(
|
||||
&self,
|
||||
#[tool(param)]
|
||||
#[schemars(description = "the left hand side number")]
|
||||
a: i32,
|
||||
#[tool(param)]
|
||||
#[schemars(description = "the left hand side number")]
|
||||
#[schemars(description = "the right hand side number")]
|
||||
b: i32,
|
||||
) -> Json<i32> {
|
||||
Json(a - b)
|
||||
|
|
|
|||
Loading…
Reference in a new issue