- Notifications
You must be signed in to change notification settings - Fork352
Dan docs#671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Dan docs#671
Changes from1 commit
036e6ee3ce5d44358d0810af49fb91797d78a4d3260d95349d8114d28b7fcad59da396dbed112e2c4566a63ca027bd03d22ad1b114bff7dea619a0c80738a9cb42483a47f23f3188717646976f86f84fbaac253bcfe6cdd203bf72a1b13a18590dd6c96b984File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| pub fn format_microseconds(microseconds: f64) -> String { | ||
| if microseconds >= 1000000. { | ||
| format!("{}s", microseconds / 1000000.) | ||
| } else if microseconds >= 1000. { | ||
| format!("{}ms", microseconds / 1000.) | ||
| } else { | ||
| format!("{}μs", microseconds) | ||
| } | ||
| } |
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [package] | ||
| name = "pgml" | ||
| version = "2.4.8" | ||
| edition = "2021" | ||
| [lib] | ||
Uh oh!
There was an error while loading.Please reload this page.