mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
clippy: Fix missing indentation in comments and remove on unecessary cast (#33026)
* Add missing indendations in comments. Signed-off-by: Daniel Frantes <danfrantes@seznam.cz> * Fix test tidy error Signed-off-by: Daniel Frantes <danfrantes@seznam.cz> --------- Signed-off-by: Daniel Frantes <danfrantes@seznam.cz>
This commit is contained in:
parent
ea5cf75169
commit
5d6840873a
4 changed files with 5 additions and 6 deletions
|
@ -1933,8 +1933,8 @@ impl GlobalScope {
|
|||
/// Promote non-Slice blob:
|
||||
/// 1. Memory-based: The bytes in data slice will be transferred to file manager thread.
|
||||
/// 2. File-based: If set_valid, then activate the FileID so it can serve as URL
|
||||
/// Depending on set_valid, the returned FileID can be part of
|
||||
/// valid or invalid Blob URL.
|
||||
/// Depending on set_valid, the returned FileID can be part of
|
||||
/// valid or invalid Blob URL.
|
||||
pub fn promote(&self, blob_info: &mut BlobInfo, set_valid: bool) -> Uuid {
|
||||
let mut bytes = vec![];
|
||||
let global_url = self.get_url();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue