MCPcopy Index your code
hub / github.com/endbasic/endbasic / upgrade

Method upgrade

repl/src/editor.rs:88–92  ·  view source on GitHub ↗

Upgrades `self` to at least `new_value`.

(&mut self, new_value: Self)

Source from the content-addressed store, hash-verified

86impl RefreshKind {
87 /// Upgrades `self` to at least `new_value`.
88 fn upgrade(&mut self, new_value: Self) {
89 if new_value > *self {
90 *self = new_value;
91 }
92 }
93}
94
95/// An interactive console-based text editor.

Callers 1

edit_interactivelyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected