Skip to content

Commit b22db97

Browse files
Apply Rust formatting to the renamed repository API URL
1 parent f3eee07 commit b22db97

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎native/core/src/updates.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ use std::{
3838

3939
pub const REPOSITORY_URL: &str = "https://github.com/ShadowfetchStudio/ShadowCode";
4040
pub const RELEASES_URL: &str = "https://github.com/ShadowfetchStudio/ShadowCode/releases";
41-
const DEFAULT_API: &str = "https://api.github.com/repos/ShadowfetchStudio/ShadowCode/releases/latest";
41+
const DEFAULT_API: &str =
42+
"https://api.github.com/repos/ShadowfetchStudio/ShadowCode/releases/latest";
4243
/// Fixed; carries no version so every installation sends the same bytes.
4344
pub const USER_AGENT: &str = "ShadowCode-update-check";
4445
/// Automatic checks run at most this often.

0 commit comments

Comments
 (0)