Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Techassi committed May 23, 2024
1 parent c8e9a5c commit 99d4fb9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
1 change: 0 additions & 1 deletion crates/stackable-versioned/src/gen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use crate::{

pub(crate) mod field;
pub(crate) mod neighbors;
pub(crate) mod venum;
pub(crate) mod version;
pub(crate) mod vstruct;

Expand Down
23 changes: 0 additions & 23 deletions crates/stackable-versioned/src/gen/venum.rs

This file was deleted.

4 changes: 2 additions & 2 deletions crates/stackable-versioned/src/gen/vstruct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ pub(crate) struct VersionedStruct {

impl ToTokens for VersionedStruct {
fn to_tokens(&self, tokens: &mut TokenStream) {
let mut versions = self.versions.iter().peekable();
let versions = self.versions.iter().peekable();
let struct_name = &self.ident;

while let Some(version) = versions.next() {
for version in versions {
let mut fields = TokenStream::new();

for field in &self.fields {
Expand Down

0 comments on commit 99d4fb9

Please sign in to comment.