提交 d4be8985 编写于 作者: B Bo Ding

tests: fix rust example

上级 0a07a78c
use anyhow::Result; use anyhow::Result;
use libtaos::*; use taos::*;
#[tokio::main] #[tokio::main]
async fn main() -> Result<()> { async fn main() -> Result<()> {
...@@ -8,4 +8,4 @@ async fn main() -> Result<()> { ...@@ -8,4 +8,4 @@ async fn main() -> Result<()> {
let _ = taos.query("show databases").await?; let _ = taos.query("show databases").await?;
println!("Connected"); println!("Connected");
Ok(()) Ok(())
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册