libutils-issue 9.36.26

A easy-to-use customizable error type
Documentation
//^
//^ HEAD
//^

//> HEAD -> NO_STD
#![no_std]

//> HEAD -> FEATURES
#![feature(const_convert)]
#![feature(const_trait_impl)]

//> HEAD -> CRATES
extern crate alloc;

//> HEAD -> MODULES
mod conversions;
#[cfg(test)]
mod tests;

//> HEAD -> CORE
use core::hash::Hash;

//> HEAD -> ALLOC
use alloc::string::String;


//^
//^ ISSUE
//^

//> ISSUE -> STRUCT
#[derive(Hash)]
pub struct Issue {
    pub name: &'static str,
    pub description: Option<String>
}