Skip to content

Commit 070f02a

Browse files
committed
fix doc
1 parent 4854b9d commit 070f02a

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

module/core/data_type/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Macro [types](https://docs.rs/type_constructor/latest/type_constructor/types/mac
3030

3131
### Basic Use Case :: make - variadic constructor
3232

33-
Implement traits [`From_0`], [From1] up to `MakeN` to provide the interface to construct your structure with a different set of arguments.
33+
Implement traits \[`From_0`\], \[`From1`\] up to `MakeN` to provide the interface to construct your structure with a different set of arguments.
3434
In this example structure, Struct1 could be constructed either without arguments, with a single argument, or with two arguments.
3535
- Constructor without arguments fills fields with zero.
3636
- Constructor with a single argument sets both fields to the value of the argument.

module/core/former_meta/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ pub fn component_assign( input : proc_macro::TokenStream ) -> proc_macro::TokenS
268268
/// Derives the `ComponentsAssign` trait for a struct, enabling `components_assign` which set all fields at once.
269269
///
270270
/// This will work only if every field can be acquired from the passed value.
271-
/// In other words, the type passed as an argument to `components_assign` must implement Into<T> for each field type.
271+
/// In other words, the type passed as an argument to `components_assign` must implement `Into<T>` for each field type.
272272
///
273273
/// # Attributes
274274
///

module/move/willbe/src/entity/code.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ mod private
1515
/// typically as a string. This can be useful for generating code from various data structures
1616
/// or objects.
1717
///
18-
/// ```
1918
pub trait AsCode
2019
{
2120
/// Converts the object to its code representation.

module/move/willbe/tests/inc/package.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ impl TestPackage
5858
self.dependencies.push( Dependency::Normal { name: name.into(), path: None, is_macro: false } );
5959
self
6060
}
61-
62-
pub fn macro_dependency( mut self, name: impl Into< String > ) -> Self
61+
// never used
62+
pub fn _macro_dependency( mut self, name: impl Into< String > ) -> Self
6363
{
6464
self.dependencies.push( Dependency::Normal { name: name.into(), path: None, is_macro: true } );
6565
self
6666
}
67-
68-
pub fn dev_dependency( mut self, name: impl Into< String > ) -> Self
67+
// never used
68+
pub fn _dev_dependency( mut self, name: impl Into< String > ) -> Self
6969
{
7070
self.dependencies.push( Dependency::Dev { name: name.into(), path: None, is_macro: false } );
7171
self

module/move/willbe/tests/tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
21
include!( "../../../../module/step/meta/src/module/terminal.rs" );
32

43
#[ allow( unused_imports ) ]
54
use willbe as the_module;
65
#[ allow( unused_imports ) ]
76
use test_tools::exposed::*;
8-
7+
/// asset path
98
pub const ASSET_PATH : &str = "tests/asset";
109

1110
mod inc;

0 commit comments

Comments
 (0)