mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-07-24 13:13:43 +00:00
build: upgrade rust and set MSRV to 1.75 (#261)
This commit is contained in:
parent
398f2afb04
commit
ca5d8f61cc
6 changed files with 9 additions and 9 deletions
|
@ -102,10 +102,10 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get<Q: ?Sized>(&self, k: &Q) -> Option<&V>
|
||||
pub fn get<Q>(&self, k: &Q) -> Option<&V>
|
||||
where
|
||||
K: Borrow<Q>,
|
||||
Q: Hash + Eq,
|
||||
Q: Hash + Eq + ?Sized,
|
||||
{
|
||||
self.map.borrow().get(k)
|
||||
}
|
||||
|
|
|
@ -269,7 +269,7 @@ impl<Inputs, Output> ComputingNode<Inputs, Output> {
|
|||
drop(input_cmp);
|
||||
log::info!("{}({:?}): compute", self.name, inputs.compute_debug_repr());
|
||||
let output = compute(s, inputs.clone());
|
||||
*self.output.write() = output.clone();
|
||||
self.output.write().clone_from(&output);
|
||||
*self.inputs.write() = Some(inputs);
|
||||
output
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue