Waffle Maybe
Waffle Maybe
When stopping, `teloxide` takes some time to shutdown gracefully. On current default settings it takes noticeable time, which is frustrating and surprising for new users. We should improve this somehow,...
[`BotCommands::parse`](https://docs.rs/teloxide/0.10.1/teloxide/utils/command/trait.BotCommands.html#tymethod.parse) currently has the following signature: ```rust fn parse(s: &str, bot_username: N) -> Result where N: Into; ``` However, there is no reason for `parse` to own the bot's username...
Rename `AtomicPtr::{fetch_ptr_add => fetch_add, fetch_ptr_sub => fetch_sub}`. Reasoning TL;DR: new naming is consistent with other `Atomic*` and `pointer` methods, see https://github.com/rust-lang/rust/issues/99108#issuecomment-1272332432 r? @thomcc
`Register` trait allows reading and writing any pointer in safe code which is unsound. Example: ```rust use ruduino::Register; struct Unsound; impl Register for Unsound { type T = u8; const...
[Inlay hints](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint) and [semantic tokens](https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_semanticTokens) are both features of LSP that allow getting a lot of information about the code at a glance. It's a big shame live-share does not...
This: ```rust fn main() { let (/**/ () /**/ | /**/ () /**/) = (); } ``` gets turned into this: ```rust fn main() { let (() | ()) =...
This RFC proposes to forbid function -> integer `as` casts, since they have surprising aspects and are error prone. [Rendered](https://github.com/WaffleLapkin/rfcs/blob/forbidden-function-casts/text/3521-forbidden-function-casts.md)
It apparently had abysmal docs lol
Fixes CI failure that can be seen in #1022 by downgrading a dependency in MSRV CI check. Also prevents such failures from affecting PRs by adding a `Cargo.lock` & making...
# Motivation The current design of the `Bot`/`Requester`/requests is cool and is working, however it has a number of issues and I'm not sure it's the best one. Now thinking...