(&self, scope: Scope<'_>)
| 54 | } |
| 55 | |
| 56 | fn exec(&self, scope: Scope<'_>) -> CallResult<()> { |
| 57 | let (formatted, _present, sep) = format_vararg(&scope, 0); |
| 58 | assert_eq!(ArgSep::End, sep, "Command only expects one argument"); |
| 59 | |
| 60 | let mut output = self.output.borrow_mut(); |
| 61 | output.push_str(&formatted); |
| 62 | output.push('\n'); |
| 63 | Ok(()) |
| 64 | } |
| 65 | } |
nothing calls this directly
no test coverage detected