Skip to content

Commit

Permalink
ser: More docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ibokuri committed Nov 18, 2023
1 parent 6bbb08b commit 920258b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/ser/blocks/error.zig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! `Error` is a _Serialization Block_ for error values.

const std = @import("std");

const getty_serialize = @import("../serialize.zig").serialize;
Expand Down
2 changes: 0 additions & 2 deletions src/ser/error.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//! `Error` is a _Serialization Block_ for error values.

/// A generic error set for `getty.Serializer` implementations.
///
/// This error set must always be included in a `getty.Serializer`
Expand Down
4 changes: 4 additions & 0 deletions src/ser/ser.zig
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ pub const getAttributes = @import("attributes.zig").getAttributes;
// Error Sets
////////////////////////////////////////////////////////////////////////////////

/// A generic error set for `getty.Serializer` implementations.
///
/// This error set must always be included in a `getty.Serializer`
/// implementation's error set.
pub const Error = @import("error.zig").Error;

comptime {
Expand Down

0 comments on commit 920258b

Please sign in to comment.