Skip to content

Commit

Permalink
Fix as linted by clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitomaru Horino committed Jan 11, 2020
1 parent 5df9a68 commit 6fb07f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entities/sentence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl Sentence {
/// ```
///
pub fn get(self) -> String {
self.format().elements.to_string()
self.format().elements
}

/// Format sentence
Expand Down

0 comments on commit 6fb07f2

Please sign in to comment.