summaryrefslogtreecommitdiffstats
path: root/vendor/syn/src/bigint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/syn/src/bigint.rs')
-rw-r--r--vendor/syn/src/bigint.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/syn/src/bigint.rs b/vendor/syn/src/bigint.rs
index 5397d6bee..66aaa9372 100644
--- a/vendor/syn/src/bigint.rs
+++ b/vendor/syn/src/bigint.rs
@@ -1,16 +1,16 @@
use std::ops::{AddAssign, MulAssign};
// For implementing base10_digits() accessor on LitInt.
-pub struct BigInt {
+pub(crate) struct BigInt {
digits: Vec<u8>,
}
impl BigInt {
- pub fn new() -> Self {
+ pub(crate) fn new() -> Self {
BigInt { digits: Vec::new() }
}
- pub fn to_string(&self) -> String {
+ pub(crate) fn to_string(&self) -> String {
let mut repr = String::with_capacity(self.digits.len());
let mut has_nonzero = false;