Closed Bug 1920754 Opened 8 months ago Closed 8 months ago

"warning: creating a shared reference to mutable static is discouraged" in URL map

Categories

(Webtools :: Searchfox, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arai, Assigned: arai)

Details

Attachments

(1 file)

warning: creating a shared reference to mutable static is discouraged
 --> src/url_map_handler.rs:15:26
  |
15 |             read_url_map(URL_MAP_PATH.as_ref().map(|s| s.as_str()))
  |                          ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
  |
Attached file GitHub Pull Request
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: