Alice Ryhl

Results 336 comments of Alice Ryhl

No, the argument to -c must be a single argument, and the arguments are put through globbing and so on like on a normal shell to divide the arguments. Note...

One option would be to connect the editor to [Neovim][1]. Neovim is a fork of vim that has a [msgpack][2] based api, which Notable could use to communicate with Neovim....

No, I haven't looked at that one in detail either.

What do I need to do to get this PR finished? I believe that the tuple-layout concern is resolved per the conversation above.

I do sometimes write things in this style, but I have not found the need to do so in our API reference. The examples there are not really complicated enough...

Ah, well, the `get_mut` function in loom was never intended to be the loom version of the standard library function of the same name. It is intended to be the...

I don't think this api is that bad. Since `std::cell::UnsafeCell::get` can be used to reimplement `std::cell::UnsafeCell::get_mut`, you can use our `get_mut` both as a `get` and `get_mut`.

```Rust let bytes_msg_slice = unsafe { // Safety: We can turn bytes_payload into a slice safely, as it has // been fully initialized by item.encode. slice::from_raw_parts_mut(bytes_payload.as_mut_ptr(), bytes_payload.len()) }; ``` We...