luaur_analysis/methods/
path_builder_build.rs1use crate::records::path::Path;
2use crate::records::path_builder::PathBuilder;
3
4pub trait PathBuilderBuild {
5 fn build(&mut self) -> Path;
6}
7
8impl PathBuilderBuild for PathBuilder {
9 fn build(&mut self) -> Path {
10 Path::from_components(core::mem::take(&mut self.components))
11 }
12}