fn to_package_set<'g>(&self, graph: &'g PackageGraph) -> Result<PackageSet<'g>> {
        if !self.packages.is_empty() {
            Ok(graph.resolve_workspace_names(&self.packages)?)
        } else {
            Ok(graph.resolve_workspace())
        }
    }
/// Converts this selection into a `PackageSet`.
Converts this selection into a `PackageSet`.
Converts this selection into a ` PackageSet ` .
fn to_package_set<'g>(&self, graph: &'g PackageGraph) -> Result<PackageSet<'g>> {
        if !self.packages.is_empty() {
            Ok(graph.resolve_workspace_names(&self.packages)?)
        } else {
            Ok(graph.resolve_workspace())
        }
    }
fn to_package_set < ' g > ( & self , graph : & ' g PackageGraph ) -> Result < PackageSet < ' g > > { if ! self . packages . is_empty ( ) { Ok ( graph . resolve_workspace_names ( & self . packages ) ? ) } else { Ok ( graph . resolve_workspace ( ) ) } }
Converts this selection into a `PackageSet`.
Converts this selection into a ` PackageSet ` .
&self
graph
&'g PackageGraph
&self
graph
&'g PackageGraph