Skip to content

Commit

Permalink
Specifying a lifetime for constant references
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Aug 30, 2022
1 parent 6ef25f3 commit b3e35c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kiss/manager/src/latest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ impl Default for Handler {
}

impl Handler {
const REPOSITORY_NAME: &str = "netai-cloud";
const REPOSITORY_OWNER: &str = "ulagbulag-village";
const REPOSITORY_NAME: &'static str = "netai-cloud";
const REPOSITORY_OWNER: &'static str = "ulagbulag-village";

pub async fn get_version(&self) -> Result<Version> {
// request the latest release info
Expand Down

0 comments on commit b3e35c6

Please sign in to comment.