Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Update prove.rs #320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update prove.rs #320

wants to merge 1 commit into from

Conversation

piu738
Copy link

@piu738 piu738 commented Jun 14, 2024

In Rust, string interpolation is done using curly braces {} to indicate where the values should be inserted into the string. In this code, we are attempting to interpolate the value of chunk_num into the log message.

Here's the incorrect line:

log::info!("Prove batch BEGIN: chunk_num = {chunk_num}");

And the correct line is :

log::info!("Prove batch BEGIN: chunk_num = {}", chunk_num);

In Rust, string interpolation is done using curly braces {} to indicate where the values should be inserted into the string. In this code, we are attempting to interpolate the value of chunk_num into the log message.

Here's the incorrect line:

log::info!("Prove batch BEGIN: chunk_num = {chunk_num}");

And the correct line is : 

log::info!("Prove batch BEGIN: chunk_num = {}", chunk_num);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant