Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Commit

Permalink
Update src/variant.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Dröge <slomo@coaxion.net>
  • Loading branch information
Zeeshan Ali and sdroege committed Jun 6, 2020
1 parent 3c944ea commit cc27e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
//! let variant = variant.get_variant().unwrap();
//! assert_eq!(variant.get_str(), Some("Hello!"));
//!
//! // Variant carying an array
//! // Variant carrying an array
//! let array = [Variant::from("Hello"), Variant::from("there!")];
//! let variant = Variant::new_array::<&str>(&array);
//! assert_eq!(variant.n_children(), 2);
Expand Down

0 comments on commit cc27e58

Please sign in to comment.