mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Replace typeString with type_string.
This commit is contained in:
parent
5ce3510a50
commit
e7ffbf819a
2 changed files with 7 additions and 7 deletions
|
@ -25,9 +25,9 @@ pub struct File {
|
|||
impl File {
|
||||
#[allow(unrooted_must_root)]
|
||||
fn new_inherited(blob_impl: BlobImpl, name: DOMString,
|
||||
modified: Option<i64>, typeString: &str) -> File {
|
||||
modified: Option<i64>, type_string: &str) -> File {
|
||||
File {
|
||||
blob: Blob::new_inherited(blob_impl, typeString.to_owned()),
|
||||
blob: Blob::new_inherited(blob_impl, type_string.to_owned()),
|
||||
name: name,
|
||||
// https://w3c.github.io/FileAPI/#dfn-lastModified
|
||||
modified: match modified {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue