Skip to content

Commit

Permalink
Update print.md
Browse files Browse the repository at this point in the history
There was an extra, i have removed it
`println!("Base 16 (hexadecimal): {:x}", 694240);`
  • Loading branch information
capybara0-0 authored Jan 7, 2024
1 parent c0be629 commit a967f07
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hello/print.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ fn main() {
println!("Base 2 (binary): {:b}", 69420); // 10000111100101100
println!("Base 8 (octal): {:o}", 69420); // 207454
println!("Base 16 (hexadecimal): {:x}", 69420); // 10f2c
println!("Base 16 (hexadecimal): {:X}", 69420); // 10F2C
// You can right-justify text with a specified width. This will
// output " 1". (Four white spaces and a "1", for a total width of 5.)
Expand Down

0 comments on commit a967f07

Please sign in to comment.