Soni L.

Results 244 issues of Soni L.
trafficstars

[Rendered](https://github.com/SoniEx2/rfcs/blob/closure/text/3300-struct-closure.md) This proposal introduces a struct `core::ops::Closure`, which represents a "concrete" form of closures and allows trait impls to distinguish closures from other kinds of callables. This distinction brings restrictions...

T-lang

```rust /// Trims this slice from the left. fn trim_left_matches bool>(&self, f: F) -> &[T] { let mut res = self; while res.len() > 0 && f(res[0]) { res =...

T-libs-api

We use this script: ```bash # Copyright (C) 2021 Soni L. # SPDX-License-Identifier: AGPL-3.0-or-later # note: consider adding the following to your PS1: # {$([[ "${HISTFILE#~/.bash_history.}" != "$HISTFILE" ]] &&...

Type: Feature Request

The `hexchat` crate has `register_command` and `deregister_command` functions. When used together, they can cause an use-after-free. This seems to be the case with most if not all of the callback-related...

Unsound

`cell-project` uses the wrong variance and is unsound.

Unsound

The `hexchat` crate has these 'safe' macros https://github.com/pie-flavor/hexchat-rs/blob/master/src/safe_static.rs As the crate itself states, using them with threads is undefined/unsound.

Unsound

We'd like to propose the following git CLI workflow for starting a new mod: ``` mkdir mymod cd mymod git init git pull --allow-unrelated-histories https://github.com/FabricMC/fabric-example-mod/ 1.17 edit LICENSE and README.md...

This is discord, voice and video seems like an important part of it.

Please fix/add: `^C,` This is especially useful when combined with RGB colors.

formatting

Browsers already define trap on loop semantics. If a script "hangs" (takes too long to return back to the browser), the browser gives the user the option to kill the...