Skip to content

Commit 2d039ec

Browse files
committed
Fix formatting
1 parent 2e61abf commit 2d039ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ impl<'a, V: SelectValue + 'a> KeyValue<'a, V> {
132132
|_| {
133133
v.get_ulong().map_or_else(
134134
|_| RedisValue::Integer(i64::MAX), // FIXME: Change to return an Err
135-
|u|
135+
|u| {
136136
// Return as a string since RedisValue has no unsigned integer type
137137
RedisValue::SimpleString(u.to_string())
138-
,
138+
},
139139
)
140140
},
141141
|v| RedisValue::Integer(v),

0 commit comments

Comments
 (0)