File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ generic type bounds.
1212## Usage  
1313
1414The ` derive_where `  macro can be used just like std's ` #[derive(...)] ` 
15- statements, with the only caveat that it requires to derive ` DeriveWhere ` 
16- ([ #27  ] ):
15+ statements:
1716
1817``` rust 
1918#[derive_where(Clone , Debug )]
@@ -242,7 +241,7 @@ accompanied by a minor version bump. If MSRV is important to you, use
242241[ derivative] ( https://crates.io/crates/derivative ) 
243242([ ![ Crates.io] ( https://img.shields.io/crates/v/derivative.svg )] ( https://crates.io/crates/derivative ) )
244243is a great alternative with many options. Notably it has no ` no_std ` 
245- support.
244+ support and requires to  ` #[derive(Derivative)] `  to use .
246245
247246## Changelog  
248247
Original file line number Diff line number Diff line change 1212//! # Usage 
1313//! 
1414//! The `derive_where` macro can be used just like std's `#[derive(...)]` 
15- //! statements, with the only caveat that it requires to derive `DeriveWhere` 
16- //! ([#27]): 
15+ //! statements: 
1716//! 
1817//! ``` 
1918//! # use std::marker::PhantomData; 
181180//! # 		} 
182181//! # 	} 
183182//! # } 
184- //! 
185183//! #[derive_where(Zeroize(crate = "zeroize_"))] 
186184//! struct Example(#[derive_where(Zeroize(fqs))] i32); 
187185//! 
303301//! [derivative](https://crates.io/crates/derivative) 
304302//! ([](https://crates.io/crates/derivative)) 
305303//! is a great alternative with many options. Notably it has no `no_std` 
306- //! support. 
304+ //! support and requires to `#[derive(Derivative)]` to use . 
307305//! 
308306//! # Changelog 
309307//! 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments