mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-11 22:50:08 +00:00
fixed clippy warnings + doc warnings
This commit is contained in:
@@ -77,7 +77,7 @@ fn doc_comments() {
|
||||
s.fields_ref(&mut |infos| {
|
||||
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]
|
||||
|
||||
@@ -1007,21 +1007,21 @@ pub enum KeyCode {
|
||||
NumpadMemoryStore,
|
||||
/// <kbd>M</kbd> Subtract current entry from the value stored in memory.
|
||||
NumpadMemorySubtract,
|
||||
/// <kbd>*</kbd> on a keyboard. For use with numpads that provide mathematical
|
||||
/// operations (<kbd>+</kbd>, <kbd>-</kbd> <kbd>*</kbd> and <kbd>/</kbd>).
|
||||
/// <kbd>\*</kbd> on a keyboard. For use with numpads that provide mathematical
|
||||
/// 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,
|
||||
/// <kbd>(</kbd> Found on the Microsoft Natural Keyboard.
|
||||
NumpadParenLeft,
|
||||
/// <kbd>)</kbd> Found on the Microsoft Natural Keyboard.
|
||||
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
|
||||
/// 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.
|
||||
NumpadStar,
|
||||
/// <kbd>-</kbd>
|
||||
|
||||
Reference in New Issue
Block a user