Removed inlines
This commit is contained in:
@@ -21,7 +21,6 @@ pub enum InvalidCommand {
|
||||
UnknownLocale,
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn init_logger() {
|
||||
tracing_subscriber::registry()
|
||||
.with(fmt::layer().pretty())
|
||||
@@ -32,7 +31,6 @@ pub fn init_logger() {
|
||||
/// Handles an error.
|
||||
/// This function must be as cheap and generic as possible and must remain sync.
|
||||
/// If expensive or long action is required, a task should be spawned but not joined.
|
||||
#[inline]
|
||||
pub fn handle_error<T>(error: T)
|
||||
where
|
||||
T: Debug + Display,
|
||||
@@ -43,7 +41,6 @@ where
|
||||
pub struct ErrorHandler;
|
||||
|
||||
impl teloxide::error_handlers::ErrorHandler<crate::Error> for ErrorHandler {
|
||||
#[inline]
|
||||
fn handle_error(
|
||||
self: std::sync::Arc<Self>,
|
||||
error: crate::Error,
|
||||
|
||||
Reference in New Issue
Block a user