Wilfred Hughes
Wilfred Hughes
```rust struct MyStruct { foo: String, // rename me } #[tracing::instrument(skip_all)] fn takes_mystruct(mystruct: MyStruct) { let MyStruct { foo } = mystruct; let value_of_foo = foo; } ``` Renaming produces:...
If the toplevel AST has nothing in common other than a set of parentheses, it's not useful.
https://github.com/shirok/Gauche/commit/2eeca102b33a4ab7450d6fb5508642431fc46dc1 ``` thread 'main' panicked at 'index out of bounds: the len is 49 but the index is 49', src/display/side_by_side.rs:505:25 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace...
Given the file: ```haskell import System.Process ``` The parse tree is: ``` haskell (0, 0) - (1, 0) import (0, 0) - (0, 21) import (0, 0) - (0, 6)...
Given the file: ``` data X = X { a :: !Int } ``` It's parsed as: ``` haskell (0, 0) - (2, 0) adt (0, 0) - (1, 15)...
I don't always want to write to the DOM straight away, so it would be nice if jscreole provided a function that just returned a string. I'm currently doing: ```...
I'd like to be able to write ELF files. Would it be possible to add this functionality to rust-elf? With all the struct definitions, I almost wonder whether this is...
I've started using smartparens-strict-mode, and it works really well. However, I noticed my calls to `turn-off-smartparens-mode` didn't disable strict mode. This fixes that. I think this is a reasonable behaviour,...
I'd like to be able to type `` and have smartparens automatically add ``. smartparens-html.el seems to contain code that does this: ``` lisp (sp-with-modes sp--html-modes (sp-local-pair "") (sp-local-tag "
How to reproduce: ``` lisp (require 'powerline) (powerline-default-theme) ``` followed by `M-x recursive-edit`. At this point, Emacs is in a recursive editor but there are no visual clues to indicate...