added inline attributes
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,6 @@
 | 
			
		||||
use crate::{change_state, prelude::*};
 | 
			
		||||
 | 
			
		||||
#[inline]
 | 
			
		||||
async fn get_master_pass(
 | 
			
		||||
    bot: Throttle<Bot>,
 | 
			
		||||
    msg: Message,
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user