Paul Dicker

Results 63 issues of Paul Dicker

Your RFC states "It is an error to reentrantly initialize the cell from `f`. Doing so results in a panic." Currently `sync:OnceCell` does not give that guarantee. I tried to...

Is it possible to do something like `cargo xcodebuild test` to run library tests in an iOS emulator? I am naively trying to set up CI testing for iOS for...

Elements within a `` tag seem to be ignored by default. Is there a workaround? ### Example ```rust use scraper::{Html, Selector}; fn main() { let fragment = Html::parse_fragment("Hello, world!"); let...

C-feature-request

Similar to https://github.com/rust-ammonia/ammonia/pull/176 I would like to write a callback for `Builder::attribute_filter` which doesn't have a `'static` lifetime. But I just can't figure out if this is possible. This is...

cc @Zomtir. I would like to depend on these methods when working on the `Parsed` type, and you don't seem to have started on them yet.

There are now multiple issues or comments to make chrono 0.5 return `Result`s instead of `Option`s, and panic less. There is some design work that needs to be done first....

API-incompatible

The final part of https://github.com/chronotope/chrono/pull/1048. Using `overflowing_naive_local` in `DateTime::checked_(add|sub)_days` and `DateTime::checked_(add|sub)_months` prevents panics. I thought it would be good if users can rely on another property: that a clear no-op...

### Existing code At a high level, the `unix` module tries to find the current time zone, load the data for it and cache the result. 1. To detect changes...

While investigating all the CI failures on #1454 I noticed our serde code tries to convert `LocalResult`s to a custom error type. This can all be done in a much...

To have something to talk about for #1448. The Windows code is pretty clean and has `OsError` and `InvalidTimeZoneData` as error causes. The Unix code remains in dire need of...