Skip to content

Commit 3e9b1d1

Browse files
committed
Fixing compile warnings
1 parent d76a815 commit 3e9b1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/chat-cli/src/cli/chat/prompt_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn validate_placeholders(content: &str) -> Result<Vec<u8>, ArgumentError> {
5252
// Parse position number
5353
let position: u8 = position_str
5454
.parse()
55-
.map_err(|_| ArgumentError::InvalidPlaceholder(full_match.to_string()))?;
55+
.map_err(|_err| ArgumentError::InvalidPlaceholder(full_match.to_string()))?;
5656

5757
// Validate position is in range 1-10
5858
if position == 0 || position > MAX_ARGUMENT_POSITION {

0 commit comments

Comments
 (0)