mirror of
https://github.com/pezkuwichain/kurdistan_blockchain-akademy.git
synced 2026-04-22 02:07:57 +00:00
fix wrong crate name (#2)
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ macro_rules! map {
|
||||
/// generate this implementation for us, as such:
|
||||
///
|
||||
/// ```
|
||||
/// use pba_entrance_exam::impl_get;
|
||||
/// use pba_qualifier::impl_get;
|
||||
/// impl_get! {
|
||||
/// // implements `Get<u32>` for `struct Six`
|
||||
/// Six: u32 = 6;
|
||||
|
||||
+3
-3
@@ -23,7 +23,7 @@ use crate::e_common_traits::Employee;
|
||||
/// ## Example
|
||||
///
|
||||
/// ```
|
||||
/// # use pba_entrance_exam::m_builder::EmployeeBuilder;
|
||||
/// # use pba_qualifier::m_builder::EmployeeBuilder;
|
||||
///
|
||||
/// # fn main() {
|
||||
/// let success = EmployeeBuilder::default().name("John".to_string()).uid(42).build();
|
||||
@@ -117,7 +117,7 @@ pub struct UnIdentified;
|
||||
/// ## Example
|
||||
///
|
||||
/// ```
|
||||
/// use pba_entrance_exam::m_builder::TypedEmployeeBuilder;
|
||||
/// use pba_qualifier::m_builder::TypedEmployeeBuilder;
|
||||
///
|
||||
/// # fn main() {
|
||||
/// // This is not a result anymore, because we guarantee at compile time that it has name and uid.
|
||||
@@ -132,7 +132,7 @@ pub struct UnIdentified;
|
||||
/// This code will simply fail to compile:
|
||||
///
|
||||
/// ```compile_fail
|
||||
/// use pba_entrance_exam::m_builder::TypedEmployeeBuilder;
|
||||
/// use pba_qualifier::m_builder::TypedEmployeeBuilder;
|
||||
///
|
||||
/// # fn main() {
|
||||
/// let success = TypedEmployeeBuilder::default().uid(42).build();
|
||||
|
||||
Reference in New Issue
Block a user