Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
fix: mutability on api
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra committed May 8, 2024
1 parent fcd03a5 commit 8f979d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl WorkspaceInfo {
&self.package_info[idx.0]
}
/// Get a mutable package
pub fn package_mut(&mut self, idx: PackageIdx) -> &PackageInfo {
pub fn package_mut(&mut self, idx: PackageIdx) -> &mut PackageInfo {
&mut self.package_info[idx.0]
}
/// Iterate over packages
Expand Down

0 comments on commit 8f979d4

Please sign in to comment.