Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stephen D
dotacat
Commits
7a628416
Commit
7a628416
authored
May 25, 2021
by
Stephen D
Browse files
Merge branch 'minor_fixes' into 'master'
Minor fixes See merge request
!4
parents
ec7d7a7b
391bdf3c
Pipeline
#82
passed with stages
in 6 minutes and 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
7a628416
...
...
@@ -36,7 +36,7 @@ Because Dota is better than LoL (According to people - I play neither)
If you have cargo installed, just run:
`cargo install dotacat`
If not, head over to the
[
releases page
](
https://git.scd31.com/stephen/dotacat/releases
)
and download the latest release. Then run:
If not, head over to the
[
releases page
](
https://git
lab
.scd31.com/stephen/dotacat/
-/
releases
/
)
and download the latest release. Then run:
```
chmod +x dotacat
...
...
@@ -65,4 +65,4 @@ OPTIONS:
Examples:
dotacat f - g Output f's contents, then stdin, then g's contents.
fortune | dotacat Display a rainbow cookie.
```
\ No newline at end of file
```
src/main.rs
View file @
7a628416
...
...
@@ -50,7 +50,7 @@ fn main() {
}
let
mut
seed
:
f64
=
opts
.seed
;
if
seed
==
0.0
{
if
seed
.abs
()
<
0.00001
{
seed
=
rand
::
random
::
<
f64
>
()
*
1_000_000.0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment