Use existing constants instead of local redeclarations #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Low
src/service/mod.rs:304-305, 334-335:followers_collection_jsonandfollowing_collection_jsonboth declareconst PAGE_SIZE: usize = 20andconst AP_CONTEXT: &str = "https://www.w3.org/ns/activitystreams"locally.These are already defined in
src/urls.rs(AP_CONTEXTandAP_PAGE_SIZE). Use the existing constants.