Jonathan Chan Kwan Yin

Results 174 issues of Jonathan Chan Kwan Yin

According to the [rustdoc book](https://doc.rust-lang.org/rustdoc/documentation-tests.html#using--in-doc-tests): > As of version 1.34.0, one can also omit the fn main(), but you will have to disambiguate the error type: > > ```rust >...

presentation
accepted

`std::iter::Step` is implemented for all integer types. It is useful to derive `Step` in newtypes that are intended to have ranges, e.g. a coordinate class. It is a nightly feature...

enhancement
help wanted
feature

I don't know if "cancel" is a good term; I am not even sure if cancellation is a correct thing to do in a promise framework, where promise is just...

enhancement

Use reflections to hack stack trace in debug mode to produce better output.

If the user requests a page `/foo/bar` but sfz (with `-r`) renders `/foo/bar/index.html`, it should first redirect the user permanently to `/foo/bar/`. This is consistent with most HTTP server implementationns....

Is it practical to compare strings in a snek-case-insensitive manner? I would like to know whether two strings are convertible to the same SnekCase/CamelCase/etc. without allocating a new String to...

I would like to update an `ArcStr` atomically. Is it possible to implement some wrapper like [`arc_swap`](https://docs.rs/arc-swap/) for arcstr, or must that introduce significant overhead?