我正在構建一個GUI,我想將所有使用的紋理存儲在一個位置,但我必須添加新的紋理,而舊紋理已經永久地借用了。 let (cat, mouse, dog) = (42, 360, 420); // example values
let mut container = vec![cat, mouse]; // new container
let foo = &container[0]; // n
我試圖打開一個whats'app鏈接,我得到這樣的錯誤: WARNING: sanitizing unsafe URL value SafeValue must use
(see http://g.co/ng/security#xss)
這裏是我的代碼: <a href="{{surl}}">
<img src="assets/imgs/whatsapp.png" height=35px/