Skip to content

Commit

Permalink
Actually use boot_time; rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokarak committed Jan 15, 2024
1 parent ecbaa1b commit bbc8ca1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/oauth.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{collections::HashMap, time::Duration};
use std::collections::HashMap;

use crate::{
client::{CLIENT, OAUTH_CLIENT},
Expand All @@ -10,9 +10,10 @@ use log::info;

use serde_json::json;

use boot_time; /*"This library reimplements std::time::Instant to use suspend-aware monotonic time if target system supports it.
/*"This library reimplements std::time::Instant to use suspend-aware monotonic time if target system supports it.
Otherwise it uses monotonic time or reexports std::time::Instant."
See #22. Will be obsoleted when https://github.com/tokio-rs/tokio/issues/3185 is resolved. */
use boot_time::Duration;

static REDDIT_ANDROID_OAUTH_CLIENT_ID: &str = "ohXpoqrZYub1kg";

Expand Down

0 comments on commit bbc8ca1

Please sign in to comment.