Skip to content

Commit

Permalink
Avoid making snowflakes public
Browse files Browse the repository at this point in the history
Since they are now in the top-level module, they are accessible
everywhere by default.
  • Loading branch information
Aleksbgbg committed Feb 18, 2024
1 parent 4dbf5ab commit 10cb260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend-rs/streamfox/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub struct AppState {
}

pub struct Snowflakes {
pub user_snowflake: SnowflakeGenerator,
user_snowflake: SnowflakeGenerator,
}

#[tokio::main]
Expand Down

0 comments on commit 10cb260

Please sign in to comment.