Skip to content

Commit ed33b08

Browse files
committed
Bump rust.
1 parent 0587ca3 commit ed33b08

2 files changed

Lines changed: 19 additions & 23 deletions

File tree

crates/core/src/container.rs

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -202,28 +202,24 @@ impl Container {
202202

203203
// TODO
204204
pub fn impl_full_from_partial(&self) -> TokenStream {
205-
let inner = match &self.inner {
206-
ContainerInner::NamedStruct { fields } => {
207-
let mut statements = vec![];
208-
209-
for field in fields {
210-
let res = field.impl_partial_merge();
211-
212-
if !res.no_value {
213-
statements.push(res.value);
214-
}
215-
}
216-
217-
quote! {
218-
Self {
219-
#(#setting_names: #from_partial_values),*
220-
}
221-
}
222-
}
223-
ContainerInner::UnnamedStruct { fields } => {}
224-
ContainerInner::UnnamedEnum { variants } => {}
225-
ContainerInner::UnitEnum { variants } => todo!(),
226-
};
205+
// let inner = match &self.inner {
206+
// ContainerInner::NamedStruct { fields } => {
207+
// let mut statements = vec![];
208+
209+
// for field in fields {
210+
// let res = field.impl_partial_merge();
211+
212+
// if !res.no_value {
213+
// statements.push(res.value);
214+
// }
215+
// }
216+
217+
// todo!();
218+
// }
219+
// ContainerInner::UnnamedStruct { fields } => {}
220+
// ContainerInner::UnnamedEnum { variants } => {}
221+
// ContainerInner::UnitEnum { variants } => todo!(),
222+
// };
227223

228224
quote! {
229225
fn from_partial(partial: Self::Partial) -> Self {}

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
22
profile = "default"
3-
channel = "1.91.0"
3+
channel = "1.95.0"

0 commit comments

Comments
 (0)