Skip to main content

luaur_analysis/methods/
subtyping_result_with_both_path.rs

1use crate::records::subtyping_result::SubtypingResult;
2use crate::type_aliases::path::Path;
3
4impl SubtypingResult {
5    pub fn with_both_path(&mut self, path: Path) -> &mut Self {
6        self.with_sub_path(path.clone()).with_super_path(path)
7    }
8}