File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
compiler/rustc_codegen_llvm/src/llvm Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ unsafe extern "C" {
2424 pub ( crate ) fn LLVMDumpValue ( V : & Value ) ;
2525 pub ( crate ) fn LLVMGetFunctionCallConv ( F : & Value ) -> c_uint ;
2626 pub ( crate ) fn LLVMGetReturnType ( T : & Type ) -> & Type ;
27- pub ( crate ) fn LLVMGetParams ( Fnc : & Value , parms : * mut & Value ) ;
27+ pub ( crate ) fn LLVMGetParams ( Fnc : & Value , params : * mut & Value ) ;
2828 pub ( crate ) fn LLVMGetNamedFunction ( M : & Module , Name : * const c_char ) -> Option < & Value > ;
2929}
3030
Original file line number Diff line number Diff line change @@ -95,10 +95,10 @@ use crate::sys_common::{FromInner, IntoInner};
9595/// let now = Instant::now();
9696/// let days_per_10_millennia = 365_2425;
9797/// let solar_seconds_per_day = 60 * 60 * 24;
98- /// let millenium_in_solar_seconds = 31_556_952_000;
99- /// assert_eq!(millenium_in_solar_seconds , days_per_10_millennia * solar_seconds_per_day / 10);
98+ /// let millennium_in_solar_seconds = 31_556_952_000;
99+ /// assert_eq!(millennium_in_solar_seconds , days_per_10_millennia * solar_seconds_per_day / 10);
100100///
101- /// let duration = Duration::new(millenium_in_solar_seconds , 0);
101+ /// let duration = Duration::new(millennium_in_solar_seconds , 0);
102102/// println!("{:?}", now + duration);
103103/// ```
104104///
You can’t perform that action at this time.
0 commit comments