kangalio

Results 84 issues of kangalio

Currently, if the error text produces by rustc is too large to be displayed in a Discord message (2000 characters), this bot prints a playground link instead that you have...

This command would work similarly to `?eval` (or maybe `?play`?), but it instructs the Rust Playground to run the code through Miri instead of compiling and executing normally. The idea...

This would be very convenient to quickly check what a piece of Rust code actually does, or if the Rust compiler generates code as intended. > ?godbolt > ```rust >...

If you `?eval` something but mess up the backticks, the bot will give you an error message, obviously. When you then edit the message and correct it, the bot _does...

# Bug description I thought this was a bug, but apparently it's a feature...? https://github.com/ivandardi/RustbotPython/blob/25ecd0eaf663afc51307288f0072d18ed1688841/bot/cogs/playground.py#L76-L83 It deliberately deletes everything after the occurence of `//`. I imagine this is a very...

Previously it was assumed that every device image was contained in an element. However, that's sometimes not the case ([two](https://www.gsmarena.com/acer_iconia_one_8_b1_820-7217.php) [times](https://www.gsmarena.com/acer_betouch_t500-3587.php) in the first brand alone). This file change adds...

Fixes #22 Should the example doctest adhere to the MSRV too? If so, I will replace the let-else. Currently, README.md and the crate root docs are duplicated. Should I fix...

Little quality of life change that would allow you to create static glob configurations for use throughout the program, like this ```py pub const CASE_INSENSITIVE_GLOB: glob::MatchOptions = glob::MatchOptions { case_sensitive:...

As per [its documentation](https://docs.rs/glob/0.3.0/glob/struct.MatchOptions.html#method.new), MatchOptions' default values are these: ```rust MatchOptions { case_sensitive: true, require_literal_separator: false, require_literal_leading_dot: false } ``` However, its derived Default implementation gives this: ```rust MatchOptions {...

In LepTess::set_image, `bool` is used as a return value to indicate success or failure. Booleans are not a good choice for a return value for this use case. Better is...