Skip to content

Commit

Permalink
Use "String" instead of "std::string::String"
Browse files Browse the repository at this point in the history
  • Loading branch information
AristoChen committed Sep 7, 2020
1 parent 39f59d2 commit 98bb18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/render/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn validate(tags: &Tags, entries: &Vec<Entry>) -> Result<(), Box<dyn Error>>
}

#[tokio::main]
pub async fn check_deprecated(token: std::string::String, entries: &mut Vec<Entry>) -> Result<(), Box<dyn Error>> {
pub async fn check_deprecated(token: String, entries: &mut Vec<Entry>) -> Result<(), Box<dyn Error>> {
let github = Github::new(
String::from("analysis tools bot"),
Credentials::Token(token),
Expand Down

0 comments on commit 98bb18d

Please sign in to comment.