Waffle Maybe
Waffle Maybe
That will help to test that everything works properly.
This allows not just setting, but also mutating the timeout via `.timeout_mut()`. For example: ```rust let mut request = client.post(url).build()?; // Increase timeout (without this PR, `timeout_mut()` always returns None)...
See https://github.com/rust-lang/rust/pull/100746
The `Debug` implementation for `XEvent` assumes that `.type_` is set right, but it is public and can be set to any value in safe code. https://github.com/erlepereira/x11-rs/blob/c4dcb13ae894c761722769088829d5cd7db3fb71/src/xlib.rs#L1042-L1049 This allows, for example,...
Hi! I have some concerns about use of `rustdoc` for non-documentation purposes. In my experience `rustdoc` regularly has regressions/bugs (a recent example w/ my crate: https://github.com/rust-lang/rust/issues/100204; a long standing bug:...
So, uhhhhh r? @estebank ## User-facing change "note: `#[warn(...)]` on by default" and such are moved to the bottom of the diagnostic: ```diff - = note: `#[warn(unsupported_calling_conventions)]` on by default...
**Describe the bug** You can't turn off logging via `Embed.toml`. **To Reproduce** Steps to reproduce the behavior: 1. Write the following to `Embed.toml` ```toml [default.general] log_level = "OFF" ``` 3....
I would like to make it easier for new contributors to contribute to `teloxide`, better documentation is one step in this direction :)
I tried this code: ```rust fn main() {} #[derive(teloxide::utils::command::BotCommands)] enum Command {} ``` I expected to see this happen: compilation succeeds. Instead, this happened: ```text error[E0405]: cannot find trait `BotCommands`...
Hopefully they are more informative and clear now. I've also removed some redundant trait bounds and a lifetime parameter, probably left from previous iterations.