added inline attributes

This commit is contained in:
StNicolay 2023-07-29 15:33:10 +03:00
parent 0139963459
commit af95e16622
Signed by: StNicolay
GPG Key ID: 9693D04DCD962B0D
3 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ use crate::{change_state, prelude::*};
use teloxide::types::ParseMode;
use tokio::task::spawn_blocking;
#[inline]
async fn get_master_pass(
bot: Throttle<Bot>,
msg: Message,

View File

@ -1,5 +1,6 @@
use crate::{change_state, prelude::*};
#[inline]
async fn get_master_pass(
bot: Throttle<Bot>,
msg: Message,

View File

@ -17,6 +17,7 @@ pub fn validate_field(field: &str) -> bool {
.all(|char| !['`', '\\', '\n', '\t'].contains(&char))
}
#[inline]
pub async fn name_from_hash(
db: &DatabaseConnection,
user_id: u64,