mirror of
https://github.com/RGBCube/bonfire.v
synced 2025-07-29 06:57:44 +00:00
Inline method
This commit is contained in:
parent
e7ae4727da
commit
6c417bda20
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ pub struct SnowflakeHolder {
|
||||||
}
|
}
|
||||||
|
|
||||||
// created_at returns the time the snowflake was created.
|
// created_at returns the time the snowflake was created.
|
||||||
|
[inline]
|
||||||
fn (sh SnowflakeHolder) created_at() Time {
|
fn (sh SnowflakeHolder) created_at() Time {
|
||||||
return sh.id.created_at()
|
return sh.id.created_at()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue