]> git.lizzy.rs Git - rust.git/commitdiff
Use decimal notation
authorJonas Schievink <jonasschievink@gmail.com>
Thu, 10 Dec 2020 17:03:37 +0000 (18:03 +0100)
committerJonas Schievink <jonasschievink@gmail.com>
Thu, 10 Dec 2020 17:03:37 +0000 (18:03 +0100)
crates/hir_expand/src/db.rs

index 245b4362d25dd68e42b5b5af4551a76f4ccc3746..ffb70f723c096d6c003f8f5e806706294a426d4f 100644 (file)
@@ -17,7 +17,7 @@
 ///
 /// If an invocation produces more tokens than this limit, it will not be stored in the database and
 /// an error will be emitted.
-const TOKEN_LIMIT: usize = 0x80000;
+const TOKEN_LIMIT: usize = 524288;
 
 #[derive(Debug, Clone, Eq, PartialEq)]
 pub enum TokenExpander {