WIP WebSocket API #346
Annotations
4 errors and 2 warnings
methods `find` and `find_id` are never used:
hook/src/ue/map.rs#L196
error: methods `find` and `find_id` are never used
--> hook/src/ue/map.rs:196:12
|
195 | impl<K: PartialEq + UEHash, V> TMap<K, V> {
| ----------------------------------------- methods in this implementation
196 | pub fn find(&self, key: K) -> Option<&V> {
| ^^^^
...
204 | pub fn find_id(&self, key: K) -> FSetElementId {
| ^^^^^^^
|
method `is_valid` is never used:
hook/src/ue/map.rs#L28
error: method `is_valid` is never used
--> hook/src/ue/map.rs:28:12
|
27 | impl FSetElementId {
| ------------------ method in this implementation
28 | pub fn is_valid(self) -> bool {
| ^^^^^^^^
|
variants `Open` and `Close` are never constructed:
hook/src/hooks/ws.rs#L74
error: variants `Open` and `Close` are never constructed
--> hook/src/hooks/ws.rs:74:5
|
71 | enum EventType {
| --------- variants in this enum
...
74 | Open,
| ^^^^
75 | Close,
| ^^^^^
|
= note: `EventType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
check
Clippy had exited with the 101 exit code
|
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|