Skip to content

Commit

Permalink
Expose ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
melody-rs committed May 31, 2024
1 parent 3592e74 commit 8165ec4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alox-48/src/de/ignored.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use crate::{DeserializerTrait, IvarAccess, Sym};

// Copyright (c) 2024 Lily Lyons
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
use super::{traits::InstanceAccess, Deserialize, Result, Visitor};
use crate::{DeserializerTrait, IvarAccess, Sym};

/// A type that implements deserialize which ignores all values.
#[derive(Clone, Copy, Debug, Default)]
pub struct Ignored;

Expand Down
2 changes: 2 additions & 0 deletions alox-48/src/de/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ mod ignored;
mod impls;
mod traits;

pub use ignored::Ignored;

pub use error::Result;
pub use error::{Error, Kind, Unexpected};

Expand Down

0 comments on commit 8165ec4

Please sign in to comment.