This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-fury-site.git
The following commit(s) were added to refs/heads/main by this push:
new 374c1e6 🔄 synced local 'docs/guide/' with remote 'docs/guide/'
374c1e6 is described below
commit 374c1e60e9244eed611a784213f08205db903d8f
Author: chaokunyang <[email protected]>
AuthorDate: Mon Feb 26 14:17:28 2024 +0000
🔄 synced local 'docs/guide/' with remote 'docs/guide/'
---
docs/guide/xlang_object_graph_guide.md | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/docs/guide/xlang_object_graph_guide.md
b/docs/guide/xlang_object_graph_guide.md
index a834960..62ae188 100644
--- a/docs/guide/xlang_object_graph_guide.md
+++ b/docs/guide/xlang_object_graph_guide.md
@@ -115,13 +115,12 @@ console.log(result);
```rust
use chrono::{NaiveDate, NaiveDateTime};
-use fury::{from_buffer, to_buffer};
-use fury_derive::Fury;
+use fury::{from_buffer, to_buffer, Fury};
use std::collections::HashMap;
fn run() {
let bin: Vec<u8> = to_buffer(&"hello".to_string());
- let obj: String = from_buffer(&bin2).expect("should success");
+ let obj: String = from_buffer(&bin).expect("should success");
assert_eq!("hello".to_string(), obj);
}
```
@@ -339,8 +338,7 @@ console.log(result);
```rust
use chrono::{NaiveDate, NaiveDateTime};
-use fury::{from_buffer, to_buffer};
-use fury_derive::Fury;
+use fury::{from_buffer, to_buffer, Fury};
use std::collections::HashMap;
#[test]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]