Skip to main content

luaur_analysis/methods/
type_reassign.rs

1use crate::records::r#type::Type;
2
3impl Type {
4    pub fn reassign(&mut self, rhs: &Type) {
5        self.ty = rhs.ty.clone();
6        self.documentation_symbol = rhs.documentation_symbol.clone();
7    }
8}