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