Skip to content

syntax: Make codemap::get_filemap() return an Option#33839

Merged
bors merged 1 commit into
rust-lang:masterfrom
kamalmarhubi:codemape-get-filemap-option
May 27, 2016
Merged

syntax: Make codemap::get_filemap() return an Option#33839
bors merged 1 commit into
rust-lang:masterfrom
kamalmarhubi:codemape-get-filemap-option

Conversation

@kamalmarhubi

Copy link
Copy Markdown
Contributor

This is more idiomatic, putting the caller in charge of whether or not
to panic.

This is more idiomatic, putting the caller in charge of whether or not
to panic.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@kamalmarhubi

Copy link
Copy Markdown
Contributor Author

Admittedly, this is to allow more flexible use from syntex_syntax, but I still think thinks this change makes sense.

@nikomatsakis

Copy link
Copy Markdown
Contributor

Seems fine.

@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented May 25, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 3bef085 has been approved by nikomatsakis

@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r-

@nikomatsakis

Copy link
Copy Markdown
Contributor

That said, ironically, this is a [plugin-breaking-change].

cc @Manishearth

@kamalmarhubi

Copy link
Copy Markdown
Contributor Author

So small and yet... :-)

Manishearth added a commit to Manishearth/rust that referenced this pull request May 26, 2016
…ption, r=nmatsakis

 This is more idiomatic, putting the caller in charge of whether or not
to panic.
Manishearth added a commit to Manishearth/rust that referenced this pull request May 27, 2016
…ption, r=nmatsakis

 This is more idiomatic, putting the caller in charge of whether or not
to panic.
@bors bors merged commit 3bef085 into rust-lang:master May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants