Skip to content

Commit

Permalink
Update unnecessary_while_loop.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamedzung committed Mar 26, 2024
1 parent 1812a85 commit db48e48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Encourages replacing `while(true)` with `loop` for infinite loops in Rust for clarity and conciseness.
//! Encourages replacing `while(true)` with `loop` for infinite loops in Move for clarity and conciseness.
//! Identifies `while(true)` patterns, suggesting a more idiomatic approach using `loop`.
//! Aims to enhance code readability and adherence to Rust idioms.
use crate::{
Expand Down

0 comments on commit db48e48

Please sign in to comment.