We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 895361d commit 2b1f5e4Copy full SHA for 2b1f5e4
1 file changed
src/main.rs
@@ -48,7 +48,7 @@ async fn main() {
48
bot::start(teloxide_bot, Arc::new(client)).await;
49
}
50
51
-fn fetch_token() -> Result<String, Err<String>> {
+fn fetch_token() -> Result<String, <String>> {
52
LOGGER.executing("Fetching token from environment variables...");
53
54
let env_tocken = env::var("TELOXIDE_TOKEN");
0 commit comments