Skip to content

Commit

Permalink
make drop_digits private
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronKutch committed Aug 20, 2019
1 parent ec1513c commit f029095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/apint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl ApInt {
///
/// This is extremely unsafe, only use this if the `ApInt` no longer needs its digits.
/// This is `unsafe` since it violates invariants of the `ApInt`.
pub unsafe fn drop_digits(&mut self) {
unsafe fn drop_digits(&mut self) {
if self.len.storage() == Storage::Ext {
let len = self.len_digits();
// TODO: Is there a more direct way to do this?
Expand Down

0 comments on commit f029095

Please sign in to comment.