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

Method do_end

std/src/console/readline.rs:235–237  ·  view source on GitHub ↗

Moves the cursor to the end of the line.

(&mut self)

Source from the content-addressed store, hash-verified

233
234 /// Moves the cursor to the end of the line.
235 fn do_end(&mut self) -> io::Result<DispatchResult> {
236 self.do_move_to(self.line.len())
237 }
238
239 /// Treats EOF as delete while text exists, or reports end-of-input otherwise.
240 fn do_eof_or_delete(&mut self) -> io::Result<DispatchResult> {

Callers 1

runMethod · 0.45

Calls 2

do_move_toMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected