linebender/parley

All methods on `PlainEditor` should also be available on `PlainEditorDriver`

Open

#200 geöffnet am 6. Dez. 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (92 Forks)github user discovery
enhancementgood first issuehelp wanted

Repository-Metriken

Stars
 (620 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

The new "driver" API makes sense from an efficiency point of view. But it is super annoying that some methods are only available on PlainEditorDriver and some are only available on PlainEditor. This can be worked around by doing driver.editor., but this is an unnecessary API wart.

I can see two possibilities:

  • We manually add all methods
  • We implement Deref and DerefMut for PlainEditorDriver

Contributor Guide