git.delta.rocks / jrsonnet / refs/commits / 3490ff65c93a

difftreelog

style remove unused code

Yaroslav Bolyukin2022-11-09parent: #b9857ae.patch.diff
in: master

2 files changed

modifiedcrates/jrsonnet-interner/src/lib.rsdiffbeforeafterboth
200 s.as_str().into()200 s.as_str().into()
201 }201 }
202}202}
203impl From<&String> for IStr {
204 fn from(s: &String) -> Self {
205 s.as_str().into()
206 }
207}
203impl From<&[u8]> for IBytes {208impl From<&[u8]> for IBytes {
204 fn from(v: &[u8]) -> Self {209 fn from(v: &[u8]) -> Self {
205 intern_bytes(v)210 intern_bytes(v)
modifiedcrates/jrsonnet-macros/src/lib.rsdiffbeforeafterboth
121 is_option: bool,121 is_option: bool,
122 name: Option<String>,122 name: Option<String>,
123 cfg_attrs: Vec<Attribute>,123 cfg_attrs: Vec<Attribute>,
124 // ident: Ident,
125 },124 },
126 Lazy {125 Lazy {
127 is_option: bool,126 is_option: bool,
446 break;445 break;
447 }446 }
448 }447 }
449 // input.parse::<kw::rename>()?;
450 // input.parse::<Token![=]>()?;
451 // let rename = input.parse::<LitStr>()?.value();
452 Ok(out)448 Ok(out)
453 }449 }
454}450}