File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -869,7 +869,7 @@ fn inheritable_from_path(
869
869
macro_rules! package_field_getter {
870
870
( $( ( $key: literal, $field: ident -> $ret: ty) , ) * ) => (
871
871
$(
872
- #[ doc = concat!( "Gets the field `workspace.package" , $key, "`." ) ]
872
+ #[ doc = concat!( "Gets the field `workspace.package. " , $key, "`." ) ]
873
873
fn $field( & self ) -> CargoResult <$ret> {
874
874
let Some ( val) = self . package. as_ref( ) . and_then( |p| p. $field. as_ref( ) ) else {
875
875
bail!( "`workspace.package.{}` was not defined" , $key) ;
@@ -940,7 +940,7 @@ impl InheritableFields {
940
940
Ok ( dep)
941
941
}
942
942
943
- /// Gets the field `workspace.lint `.
943
+ /// Gets the field `workspace.lints `.
944
944
pub fn lints ( & self ) -> CargoResult < manifest:: TomlLints > {
945
945
let Some ( val) = & self . lints else {
946
946
bail ! ( "`workspace.lints` was not defined" ) ;
You can’t perform that action at this time.
0 commit comments