mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
fixed clippy warnings + doc warnings
This commit is contained in:
@@ -77,7 +77,7 @@ fn doc_comments() {
|
|||||||
s.fields_ref(&mut |infos| {
|
s.fields_ref(&mut |infos| {
|
||||||
assert_eq!(infos[0].doc, " This is a\n multiline doc comment.\n");
|
assert_eq!(infos[0].doc, " This is a\n multiline doc comment.\n");
|
||||||
});
|
});
|
||||||
assert_eq!(s.type_info_ref().doc_comment, " Struct doc comment.");
|
assert_eq!(s.type_info_ref().doc_comment, " Struct doc comment.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|||||||
@@ -1007,21 +1007,21 @@ pub enum KeyCode {
|
|||||||
NumpadMemoryStore,
|
NumpadMemoryStore,
|
||||||
/// <kbd>M</kbd> Subtract current entry from the value stored in memory.
|
/// <kbd>M</kbd> Subtract current entry from the value stored in memory.
|
||||||
NumpadMemorySubtract,
|
NumpadMemorySubtract,
|
||||||
/// <kbd>*</kbd> on a keyboard. For use with numpads that provide mathematical
|
/// <kbd>\*</kbd> on a keyboard. For use with numpads that provide mathematical
|
||||||
/// operations (<kbd>+</kbd>, <kbd>-</kbd> <kbd>*</kbd> and <kbd>/</kbd>).
|
/// operations (<kbd>+</kbd>, <kbd>-</kbd> <kbd>\*</kbd> and <kbd>/</kbd>).
|
||||||
///
|
///
|
||||||
/// Use `NumpadStar` for the <kbd>*</kbd> key on phones and remote controls.
|
/// Use `NumpadStar` for the <kbd>\*</kbd> key on phones and remote controls.
|
||||||
NumpadMultiply,
|
NumpadMultiply,
|
||||||
/// <kbd>(</kbd> Found on the Microsoft Natural Keyboard.
|
/// <kbd>(</kbd> Found on the Microsoft Natural Keyboard.
|
||||||
NumpadParenLeft,
|
NumpadParenLeft,
|
||||||
/// <kbd>)</kbd> Found on the Microsoft Natural Keyboard.
|
/// <kbd>)</kbd> Found on the Microsoft Natural Keyboard.
|
||||||
NumpadParenRight,
|
NumpadParenRight,
|
||||||
/// <kbd>*</kbd> on a phone or remote control device.
|
/// <kbd>\*</kbd> on a phone or remote control device.
|
||||||
///
|
///
|
||||||
/// This key is typically found below the <kbd>7</kbd> key and to the left of
|
/// This key is typically found below the <kbd>7</kbd> key and to the left of
|
||||||
/// the <kbd>0</kbd> key.
|
/// the <kbd>0</kbd> key.
|
||||||
///
|
///
|
||||||
/// Use <kbd>"NumpadMultiply"</kbd> for the <kbd>*</kbd> key on
|
/// Use <kbd>"NumpadMultiply"</kbd> for the <kbd>\*</kbd> key on
|
||||||
/// numeric keypads.
|
/// numeric keypads.
|
||||||
NumpadStar,
|
NumpadStar,
|
||||||
/// <kbd>-</kbd>
|
/// <kbd>-</kbd>
|
||||||
|
|||||||
Reference in New Issue
Block a user