Create appid_to_rss_url helper function.
This commit is contained in:
parent
8605c20dfc
commit
0b5e5def96
|
@ -124,3 +124,8 @@ fn main() -> Result<()> {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Creates a Steam RSS URL from a given AppID.
|
||||
fn appid_to_rss_url(appid: usize) -> String {
|
||||
format!("https://steamcommunity.com/games/{appid}/rss/")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue