From 56be9a2c59286870fe64dd8f1e0c29301d5f8a43 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Sat, 25 Jul 2020 19:45:57 +0600 Subject: [PATCH] Use three dots instead of the exclamation in the examples --- README.md | 4 ++-- examples/admin_bot/src/main.rs | 2 +- examples/dialogue_bot/src/main.rs | 2 +- examples/heroku_ping_pong_bot/src/main.rs | 2 +- examples/ngrok_ping_pong_bot/src/main.rs | 2 +- examples/ping_pong_bot/src/main.rs | 2 +- examples/shared_state_bot/src/main.rs | 2 +- examples/simple_commands_bot/src/main.rs | 2 +- src/dispatching/mod.rs | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6389447f..0e7d7298 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ use teloxide::prelude::*; #[tokio::main] async fn main() { teloxide::enable_logging!(); - log::info!("Starting ping_pong_bot!"); + log::info!("Starting ping_pong_bot..."); let bot = Bot::from_env(); @@ -316,7 +316,7 @@ And, finally, the `main` function looks like this: #[tokio::main] async fn main() { teloxide::enable_logging!(); - log::info!("Starting dialogue_bot!"); + log::info!("Starting dialogue_bot..."); let bot = Bot::from_env(); diff --git a/examples/admin_bot/src/main.rs b/examples/admin_bot/src/main.rs index d7929e7c..cdeab9e3 100644 --- a/examples/admin_bot/src/main.rs +++ b/examples/admin_bot/src/main.rs @@ -167,7 +167,7 @@ async fn main() { async fn run() { teloxide::enable_logging!(); - log::info!("Starting admin_bot!"); + log::info!("Starting admin_bot..."); let bot = Bot::from_env(); diff --git a/examples/dialogue_bot/src/main.rs b/examples/dialogue_bot/src/main.rs index 6fb15ace..80e9ee24 100644 --- a/examples/dialogue_bot/src/main.rs +++ b/examples/dialogue_bot/src/main.rs @@ -39,7 +39,7 @@ async fn main() { async fn run() { teloxide::enable_logging!(); - log::info!("Starting dialogue_bot!"); + log::info!("Starting dialogue_bot..."); let bot = Bot::from_env(); diff --git a/examples/heroku_ping_pong_bot/src/main.rs b/examples/heroku_ping_pong_bot/src/main.rs index 58b6fa37..974ed89c 100644 --- a/examples/heroku_ping_pong_bot/src/main.rs +++ b/examples/heroku_ping_pong_bot/src/main.rs @@ -75,7 +75,7 @@ pub async fn webhook<'a>( async fn run() { teloxide::enable_logging!(); - log::info!("Starting heroku_ping_pong_bot!"); + log::info!("Starting heroku_ping_pong_bot..."); let bot = Bot::from_env(); diff --git a/examples/ngrok_ping_pong_bot/src/main.rs b/examples/ngrok_ping_pong_bot/src/main.rs index 1bc2f422..af31f297 100644 --- a/examples/ngrok_ping_pong_bot/src/main.rs +++ b/examples/ngrok_ping_pong_bot/src/main.rs @@ -56,7 +56,7 @@ pub async fn webhook<'a>( async fn run() { teloxide::enable_logging!(); - log::info!("Starting ngrok_ping_pong_bot!"); + log::info!("Starting ngrok_ping_pong_bot..."); let bot = Bot::from_env(); diff --git a/examples/ping_pong_bot/src/main.rs b/examples/ping_pong_bot/src/main.rs index 1b52e4cc..996b7d6b 100644 --- a/examples/ping_pong_bot/src/main.rs +++ b/examples/ping_pong_bot/src/main.rs @@ -9,7 +9,7 @@ async fn main() { async fn run() { teloxide::enable_logging!(); - log::info!("Starting ping_pong_bot!"); + log::info!("Starting ping_pong_bot..."); let bot = Bot::from_env(); diff --git a/examples/shared_state_bot/src/main.rs b/examples/shared_state_bot/src/main.rs index edfc1a6c..e98d18d5 100644 --- a/examples/shared_state_bot/src/main.rs +++ b/examples/shared_state_bot/src/main.rs @@ -16,7 +16,7 @@ async fn main() { async fn run() { teloxide::enable_logging!(); - log::info!("Starting shared_state_bot!"); + log::info!("Starting shared_state_bot..."); let bot = Bot::from_env(); diff --git a/examples/simple_commands_bot/src/main.rs b/examples/simple_commands_bot/src/main.rs index c170e447..2803ff15 100644 --- a/examples/simple_commands_bot/src/main.rs +++ b/examples/simple_commands_bot/src/main.rs @@ -50,7 +50,7 @@ async fn main() { async fn run() { teloxide::enable_logging!(); - log::info!("Starting simple_commands_bot!"); + log::info!("Starting simple_commands_bot..."); let bot = Bot::from_env(); diff --git a/src/dispatching/mod.rs b/src/dispatching/mod.rs index b3fe6f0b..0c0736b6 100644 --- a/src/dispatching/mod.rs +++ b/src/dispatching/mod.rs @@ -41,7 +41,7 @@ //! # #[tokio::main] //! # async fn main_() { //! teloxide::enable_logging!(); -//! log::info!("Starting ping_pong_bot!"); +//! log::info!("Starting ping_pong_bot..."); //! //! let bot = Bot::from_env(); //!