Forbid unsafe code

This commit is contained in:
Temirkhan Myrzamadi 2020-07-16 21:41:14 +06:00
parent 12b2043e74
commit e996ffffb4

View file

@ -14,6 +14,7 @@
html_favicon_url = "https://github.com/teloxide/teloxide/raw/master/ICON.png"
)]
#![allow(clippy::match_bool)]
#![forbid(unsafe_code)]
pub use bot::Bot;
pub use errors::{ApiErrorKind, DownloadError, RequestError};