Bläddra i källkod

remove constants

Armani Ferrante 3 år sedan
förälder
incheckning
ecad170937
1 ändrade filer med 0 tillägg och 7 borttagningar
  1. 0 7
      lang/syn/src/lib.rs

+ 0 - 7
lang/syn/src/lib.rs

@@ -26,13 +26,6 @@ pub(crate) mod hash;
 pub mod idl;
 pub mod parser;
 
-// Layout indices.
-pub const LAYOUT_VERSION: u8 = 0;
-pub const LAYOUT_VERSION_INDEX: u8 = 0;
-pub const LAYOUT_BUMP_INDEX: u8 = 1;
-pub const LAYOUT_DISCRIMINATOR_INDEX: u8 = 2;
-pub const LAYOUT_UNUSED_INDEX: u8 = 6;
-
 #[derive(Debug)]
 pub struct Program {
     pub state: Option<State>,