---
title: "removingSubranges(_:)"
framework: swift-package-manager
role: symbol
role_heading: Instance Method
path: "swift-package-manager/documentation/packageplugin/filelist/removingsubranges(_:)"
---

# removingSubranges(_:)

Inherited from Collection.removingSubranges(_:).

## Declaration

```swift
func removingSubranges(_ subranges: RangeSet<Self.Index>) -> DiscontiguousSlice<Self>
```
