Skip to content

Commit 8b09cb4

Browse files
committed
Clang formatter
1 parent 31b4752 commit 8b09cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/huggingface_hub.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ int progress_callback(void *userdata, curl_off_t total, curl_off_t now,
237237
int terminal_width = get_terminal_width();
238238
auto elapsed = std::chrono::steady_clock::now() - last_print_time;
239239

240-
if (total > 0 &&
241-
(now == downloaded || std::chrono::duration<double>(elapsed).count() > 0.08)) {
240+
if (total > 0 && (now == downloaded ||
241+
std::chrono::duration<double>(elapsed).count() > 0.08)) {
242242
last_print_time = std::chrono::steady_clock::now();
243243

244244
bool show_speed = terminal_width > 65;

0 commit comments

Comments
 (0)