Skip to content

Commit e5e6d3c

Browse files
committed
Long lines
1 parent 10c9d79 commit e5e6d3c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/librustc/middle/trans/meth.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ fn method_ty_param_count(ccx: @crate_ctxt, m_id: ast::def_id,
372372
None => {
373373
match ccx.tcx.provided_method_sources.find(m_id) {
374374
Some(source) => {
375-
method_ty_param_count(ccx, source.method_id, source.impl_id)
375+
method_ty_param_count(
376+
ccx, source.method_id, source.impl_id)
376377
}
377378
None => fail
378379
}

src/librustc/middle/ty.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,9 +438,9 @@ type ctxt =
438438
normalized_cache: HashMap<t, t>,
439439
lang_items: middle::lang_items::LanguageItems,
440440
legacy_boxed_traits: HashMap<node_id, ()>,
441-
// A mapping from an implementation ID to the method info and trait method
442-
// ID of the provided (a.k.a. default) methods in the traits that that
443-
// implementation implements.
441+
// A mapping from an implementation ID to the method info and trait
442+
// method ID of the provided (a.k.a. default) methods in the traits that
443+
// that implementation implements.
444444
provided_methods: ProvidedMethodsMap,
445445
provided_method_sources: HashMap<ast::def_id, ProvidedMethodSource>,
446446
supertraits: HashMap<ast::def_id, @~[InstantiatedTraitRef]>,

src/librustc/middle/typeck/coherence.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ use metadata::csearch::{get_impls_for_mod};
1919
use metadata::cstore::{CStore, iter_crate_data};
2020
use metadata::decoder::{dl_def, dl_field, dl_impl};
2121
use middle::resolve::{Impl, MethodInfo};
22-
use middle::ty::{DerivedMethodInfo, ProvidedMethodSource, ProvidedMethodInfo, get};
22+
use middle::ty::{DerivedMethodInfo, ProvidedMethodSource,
23+
ProvidedMethodInfo, get};
2324
use middle::ty::{lookup_item_type, subst, t, ty_bot, ty_box, ty_class};
2425
use middle::ty::{ty_bool, ty_enum, ty_int, ty_nil, ty_ptr, ty_rptr, ty_uint};
2526
use middle::ty::{ty_float, ty_estr, ty_evec, ty_rec, ty_uniq};

0 commit comments

Comments
 (0)