diff --git a/crates/teloxide/src/dispatching.rs b/crates/teloxide/src/dispatching.rs index d456aabc..bb1e9d94 100644 --- a/crates/teloxide/src/dispatching.rs +++ b/crates/teloxide/src/dispatching.rs @@ -207,12 +207,12 @@ //! [default]: DispatcherBuilder#method.default_handler //! [error]: DispatcherBuilder#method.error_handler //! [dialogues]: dialogue -//! [`examples/purchase.rs`]: https://github.com/teloxide/teloxide/blob/master/examples/purchase.rs +//! [`examples/purchase.rs`]: https://github.com/teloxide/teloxide/blob/master/crates/teloxide/examples/purchase.rs //! [`Update::filter_message`]: crate::types::Update::filter_message //! [`Update::filter_callback_query`]: crate::types::Update::filter_callback_query //! [chain of responsibility]: https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern //! [dependency injection (DI)]: https://en.wikipedia.org/wiki/Dependency_injection -//! [`examples/dispatching_features.rs`]: https://github.com/teloxide/teloxide/blob/master/examples/dispatching_features.rs +//! [`examples/dispatching_features.rs`]: https://github.com/teloxide/teloxide/blob/master/crates/teloxide/examples/dispatching_features.rs //! [`Update`]: crate::types::Update pub mod dialogue; diff --git a/crates/teloxide/src/dispatching/dialogue.rs b/crates/teloxide/src/dispatching/dialogue.rs index a577b999..b6135cc4 100644 --- a/crates/teloxide/src/dispatching/dialogue.rs +++ b/crates/teloxide/src/dispatching/dialogue.rs @@ -91,7 +91,7 @@ //! } //! ``` //! -//! [`examples/dialogue.rs`]: https://github.com/teloxide/teloxide/blob/master/examples/dialogue.rs +//! [`examples/dialogue.rs`]: https://github.com/teloxide/teloxide/blob/master/crates/teloxide/examples/dialogue.rs #[cfg(feature = "redis-storage")] pub use self::{RedisStorage, RedisStorageError}; diff --git a/crates/teloxide/src/lib.rs b/crates/teloxide/src/lib.rs index 1e86d521..ffcd8f65 100644 --- a/crates/teloxide/src/lib.rs +++ b/crates/teloxide/src/lib.rs @@ -4,7 +4,7 @@ //! //! For a high-level overview, see [our GitHub repository](https://github.com/teloxide/teloxide). //! -//! [[`examples/throw_dice.rs`](https://github.com/teloxide/teloxide/blob/master/examples/throw_dice.rs)] +//! [[`examples/throw_dice.rs`](https://github.com/teloxide/teloxide/blob/master/crates/teloxide/examples/throw_dice.rs)] //! ```no_run //! # #[cfg(feature = "ctrlc_handler")] //! use teloxide::prelude::*; diff --git a/crates/teloxide/src/utils/command.rs b/crates/teloxide/src/utils/command.rs index 2626d28c..763f1f7a 100644 --- a/crates/teloxide/src/utils/command.rs +++ b/crates/teloxide/src/utils/command.rs @@ -45,9 +45,9 @@ //! assert_eq!(args, vec!["3", "hours"]); //! ``` //! -//! See [examples/admin_bot] as a more complicated examples. +//! See [examples/admin] as a more complicated examples. //! -//! [examples/admin_bot]: https://github.com/teloxide/teloxide/blob/master/examples/admin_bot/ +//! [examples/admin]: https://github.com/teloxide/teloxide/blob/master/crates/teloxide/examples/admin.rs use core::fmt; use std::{