Skip to content

Commit

Permalink
Update README.md (#226)
Browse files Browse the repository at this point in the history
Fix code example typo in README.
  • Loading branch information
2005m authored Dec 13, 2021
1 parent 5b74b84 commit 5826a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ You can use this to conditionally disable a progress bar in cases where you want
or are using another progress bar to track progress in looping over a function that itself uses a progress bar.

```julia
function my_awesome_slow_loop(n: Integer; show_progress=true)
function my_awesome_slow_loop(n::Integer; show_progress=true)
p = Progress(n; enabled=show_progress)
for i in 1:n
sleep(0.1)
Expand Down

0 comments on commit 5826a75

Please sign in to comment.