Skip to content

Commit

Permalink
refactor!: Remove StatsError
Browse files Browse the repository at this point in the history
  • Loading branch information
FreezyLemon committed Sep 10, 2024
1 parent 9fa380a commit 93a3ca6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 128 deletions.
120 changes: 0 additions & 120 deletions src/error.rs

This file was deleted.

8 changes: 0 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,3 @@ pub mod generate;
pub mod prec;
pub mod statistics;
pub mod stats_tests;

mod error;

pub use crate::error::StatsError;

/// Result type for the statrs library package that returns
/// either a result type `T` or a `StatsError`
pub type Result<T> = std::result::Result<T, StatsError>;

0 comments on commit 93a3ca6

Please sign in to comment.