Method
put_opt
(&mut self, s: Option<&str>)
Source from the content-addressed store, hash-verified
| 156 | /// so the arena API is complete alongside the layout it feeds. |
| 157 | #[allow(dead_code)] |
| 158 | pub fn put_opt(&mut self, s: Option<&str>) -> StrRef { |
| 159 | match s { |
| 160 | Some(s) => self.put(s), |
| 161 | None => NONE_STR, |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | /// NUL-joined list; absent when the list is empty. (R2 surface: decorators, |
| 166 | /// typeParameters, candidates.) |
Callers
nothing calls this directly
Tested by
no test coverage detected