Skip to content

Commit

Permalink
Updated to version 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wkennedy committed Nov 14, 2023
2 parents 9ddd33f + 2acca15 commit 8b8a89d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion borsh-serde-adapter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "borsh-serde-adapter"
version = "1.0.0"
version = "1.0.1"
edition = "2021"
authors = ["Will Kennedy"]
description = "Adapter to go from borsh to serde and vice versa"
Expand Down
4 changes: 2 additions & 2 deletions borsh-serde-adapter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//! last_name: "Doe".to_string(),
//! };
//!
//! let person_ser = person.try_to_vec().expect("Error trying to seralize Person");
//! let person_ser = to_vec(&person).expect("Error trying to serialize Person");
//!
//! let file = File::open("./tests/schema/person_schema.dat").unwrap();
//! let mut reader = BufReader::new(file);
Expand All @@ -27,7 +27,7 @@
//! would do something like this:
//!
//! ```
//! let person_serialized = person.try_to_vec().expect("Error trying to serialize Person");
//! let person_serialized = to_vec(&person).expect("Error trying to seralize Person");
//! let person_deserialized = Person::deserialize(&mut person_serialized.as_slice());
//! ```
//!
Expand Down

0 comments on commit 8b8a89d

Please sign in to comment.