(&self)
| 40 | |
| 41 | impl Clone for FunctionTarget<'_> { |
| 42 | fn clone(&self) -> Self { |
| 43 | // Annotation formatters are transient and forgotten on clone, so this is a cheap |
| 44 | // handle. |
| 45 | Self { |
| 46 | func_env: self.func_env, |
| 47 | data: self.data, |
| 48 | annotation_formatters: RefCell::new(vec![]), |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | /// Holds the owned data belonging to a FunctionTarget, contained in a |
no outgoing calls
no test coverage detected