mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +01:00
Fix broken example links
This commit is contained in:
parent
6909353500
commit
650216d373
4 changed files with 6 additions and 6 deletions
|
@ -207,12 +207,12 @@
|
||||||
//! [default]: DispatcherBuilder#method.default_handler
|
//! [default]: DispatcherBuilder#method.default_handler
|
||||||
//! [error]: DispatcherBuilder#method.error_handler
|
//! [error]: DispatcherBuilder#method.error_handler
|
||||||
//! [dialogues]: dialogue
|
//! [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_message`]: crate::types::Update::filter_message
|
||||||
//! [`Update::filter_callback_query`]: crate::types::Update::filter_callback_query
|
//! [`Update::filter_callback_query`]: crate::types::Update::filter_callback_query
|
||||||
//! [chain of responsibility]: https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern
|
//! [chain of responsibility]: https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern
|
||||||
//! [dependency injection (DI)]: https://en.wikipedia.org/wiki/Dependency_injection
|
//! [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
|
//! [`Update`]: crate::types::Update
|
||||||
|
|
||||||
pub mod dialogue;
|
pub mod dialogue;
|
||||||
|
|
|
@ -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")]
|
#[cfg(feature = "redis-storage")]
|
||||||
pub use self::{RedisStorage, RedisStorageError};
|
pub use self::{RedisStorage, RedisStorageError};
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
//!
|
//!
|
||||||
//! For a high-level overview, see [our GitHub repository](https://github.com/teloxide/teloxide).
|
//! 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
|
//! ```no_run
|
||||||
//! # #[cfg(feature = "ctrlc_handler")]
|
//! # #[cfg(feature = "ctrlc_handler")]
|
||||||
//! use teloxide::prelude::*;
|
//! use teloxide::prelude::*;
|
||||||
|
|
|
@ -45,9 +45,9 @@
|
||||||
//! assert_eq!(args, vec!["3", "hours"]);
|
//! 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 core::fmt;
|
||||||
use std::{
|
use std::{
|
||||||
|
|
Loading…
Reference in a new issue