Skip to content

Commit 228119d

Browse files
committed
Fix (new) compiler warning
1 parent 56a5693 commit 228119d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub enum ConversionType {
100100
/// })
101101
/// );
102102
///
103-
pub fn parse_format_string(fmt: &str) -> Result<Vec<FormatElement>> {
103+
pub fn parse_format_string(fmt: &str) -> Result<Vec<FormatElement<'_>>> {
104104
// find the first %
105105
let mut res = Vec::new();
106106

0 commit comments

Comments
 (0)