Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter554 committed Dec 31, 2024
1 parent bd3e9b4 commit fb5106a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repository = "https://github.com/Peter554/pyimports"
documentation = "https://docs.rs/pyimports/"
readme = "README.md"
license = "MIT"
version = "0.2.1"
version = "0.3.0"
edition = "2021"
exclude = [
".github/*",
Expand Down
4 changes: 2 additions & 2 deletions src/imports_info/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ impl ImportsInfo {
}

/// Excludes the passed imports.
/// Returns a new [ImportsInfo], leaves this instance unchanged.
/// Returns a new [ImportsInfo], leaving this instance unchanged.
pub fn exclude_imports(
&self,
internal: impl IntoIterator<Item = (PackageItemToken, PackageItemToken)>,
Expand All @@ -243,7 +243,7 @@ impl ImportsInfo {
}

/// Excludes typechecking imports.
/// Returns a new [ImportsInfo], leaves this instance unchanged.
/// Returns a new [ImportsInfo], leaving this instance unchanged.
pub fn exclude_typechecking_imports(&self) -> Result<Self> {
let mut imports_info = self.clone();

Expand Down
2 changes: 1 addition & 1 deletion src/imports_info/queries/external_imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl<'a> ExternalImportsQueries<'a> {
.contains(to.borrow()))
}

/// Returns the direct imports of the passed package item.
/// Returns the items directly imported by the passed package item.
///
/// ```
/// # use std::collections::HashSet;
Expand Down

0 comments on commit fb5106a

Please sign in to comment.