mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
parent
b3ef934ccb
commit
25242fe93f
395 changed files with 14569 additions and 5755 deletions
|
@ -140,16 +140,11 @@ impl FileSetConfig {
|
|||
}
|
||||
|
||||
/// Builder for [`FileSetConfig`].
|
||||
#[derive(Default)]
|
||||
pub struct FileSetConfigBuilder {
|
||||
roots: Vec<Vec<VfsPath>>,
|
||||
}
|
||||
|
||||
impl Default for FileSetConfigBuilder {
|
||||
fn default() -> Self {
|
||||
FileSetConfigBuilder { roots: Vec::new() }
|
||||
}
|
||||
}
|
||||
|
||||
impl FileSetConfigBuilder {
|
||||
/// Returns the number of sets currently held.
|
||||
pub fn len(&self) -> usize {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue