Frank Steffahn

Results 38 issues of Frank Steffahn

* add links to YT (for those non-subscribers) * mark `cond` support as DONE

by generalizing the P: Deref-implementation to ?Sized, and implementing Access for some `dyn DynAccess` trait object types. Not yet documented or polished, this PRs main purpose *for now* is to...

Looks like something like ```diff diff --git a/src/access.rs b/src/access.rs index be4ddfd..5ffcdaa 100644 --- a/src/access.rs +++ b/src/access.rs @@ -112,13 +112,52 @@ pub trait Access { fn load(&self) -> Self::Guard; } -impl...

Apparently, crossbeam has MSRV `1.36`, which [includes `AtomicU8`](https://doc.rust-lang.org/1.36.0/std/sync/atomic/struct.AtomicU8.html). Hence the following comment is outdated: https://github.com/crossbeam-rs/crossbeam/blob/2653a6cfe7f8756d27f53d51cc84fcabf5d1d549/crossbeam-utils/src/atomic/atomic_cell.rs#L796-L801 Considering that this comment legitimizes code that is officially UB, I propose that this should...

Looking at clippy commits in the rust repo, e.g. in PR rust-lang/rust#84980, you’ll see commit messages from @bors merge commits, e.g. https://github.com/rust-lang/rust/pull/84980/commits/ce37099bd3cc05568c09fa7c1f06c80efd64c905 containing PR numbers from [rust-lang/rust-clippy](https://github.com/rust-lang/rust-clippy). But it’s just...

Fixes #144 Disclaimer: I have no idea how to test this code to make sure it’s working properly and doing the right thing.

Reading https://github.com/rust-lang/futures-rs/blob/3601bb76708ea4bcc14c3491237abc33b685ba0b/futures-core/src/stream.rs#L174-L182 I’m wondering: what’s those limitations? Trying something like b7f417d738d89071fe4d2ec880a908d67e19c12c seems to work without problems.

docs
C-question

This impl: https://docs.rs/nalgebra/0.29.0/nalgebra/base/struct.SliceStorage.html#impl-Send allows triggering UB in safe code e.g. as follows ```rs #![allow(clippy::type_complexity)] use std::{cell::Cell, thread}; use nalgebra::vector; fn main() { create_data_race(unsound_share_non_sync); } fn unsound_share_non_sync

bug
P-high
breaking change

(compare https://highlightjs.readthedocs.io/en/latest/supported-languages.html for a list of languages and their identifiers/aliases) Motivation: This code block was mishighlighted: https://rustc-dev-guide.rust-lang.org/git.html#i-see--head

waiting-on-author