Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Sayan7388
Copy link

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant