Skip to content

Fix for shootout-fasta-redux.rs#5989

Closed
Thiez wants to merge 1 commit into
rust-lang:incomingfrom
Thiez:fixbench
Closed

Fix for shootout-fasta-redux.rs#5989
Thiez wants to merge 1 commit into
rust-lang:incomingfrom
Thiez:fixbench

Conversation

@Thiez

@Thiez Thiez commented Apr 21, 2013

Copy link
Copy Markdown
Contributor

Partial fix for #5985
shootout-fasta-redux.rs was calling fwrite with u64 arguments that should have been size_t, which broke on 32-bit systems. I replaced the casts to u64 by casts to size_t.

r?

bors added a commit that referenced this pull request Apr 21, 2013
Partial fix for #5985
shootout-fasta-redux.rs was calling fwrite with u64 arguments that should have been size_t, which broke on 32-bit systems. I replaced the casts to u64 by casts to size_t.

r?
@bors bors closed this Apr 21, 2013
calebcartwright pushed a commit to calebcartwright/rust that referenced this pull request Jun 22, 2024
…5989)

Fixes 5987

rustfmt already special cases the formatting for the `debug!`, `info!`,
`warn!`, and `error!`, macros from the `log` crate. However, this
speical case handling did not apply to the `trace!` macro.

Now when using `Version=Two` rustfmt will also special case the
formatting for the `trace!` macro.
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.

3 participants