Skip to content

Commit

Permalink
use .parse()
Browse files Browse the repository at this point in the history
  • Loading branch information
phenylshima committed Jan 25, 2024
1 parent 86bd580 commit e0030d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/jlabel-question/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//! "/J:5_29",
//! "/K:2+8-41"
//! );
//! assert!(question.test(&Label::from_str(label_str)?));
//! assert!(question.test(&label_str.parse()?));
//! #
//! # Ok(())
//! # }
Expand Down
2 changes: 1 addition & 1 deletion crates/jlabel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//! "/J:5_29",
//! "/K:2+8-41"
//! );
//! let label = Label::from_str(label_str)?;
//! let label: Label = label_str.parse()?;
//!
//! assert_eq!(
//! label.phoneme,
Expand Down

0 comments on commit e0030d8

Please sign in to comment.